Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 108.5 kB / 16.37 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 195.8 kB / 17.31 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 69.44 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2223, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001576/0.2239, allocations: 0.5884 MB / 0.9517 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003845/0.2243, allocations: 203.3 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.002e-05/0.2244, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.2244, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-06/0.2244, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2247, allocations: 59.81 kB / 0.952 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.18e-05/0.2247, allocations: 4 kB / 0.952 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.2248, allocations: 0 / 0.952 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.139e-05/0.2248, allocations: 0 / 0.952 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.712e-05/0.2248, allocations: 3.938 kB / 0.952 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-06/0.2248, allocations: 0 / 0.952 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.225, allocations: 67.86 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.225, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.225, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.2251, allocations: 39.94 kB / 0.9521 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2251, allocations: 0 / 0.9521 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2251, allocations: 8 kB / 0.9521 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.2251, allocations: 0 / 0.9521 GB, free: 7.133 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002448/0.2254, allocations: 315.6 kB / 0.9524 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.2254, allocations: 8.031 kB / 0.9524 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.2254, allocations: 0.9375 kB / 0.9524 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.907e-05/0.2255, allocations: 168.3 kB / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2255, allocations: 384 / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.2255, allocations: 384 / 0.9525 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.595e-05/0.2256, allocations: 30.27 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2256, allocations: 192 / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2256, allocations: 3.938 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2256, allocations: 4 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.2257, allocations: 7.984 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.2258, allocations: 145.6 kB / 0.9527 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.056e-05/0.2258, allocations: 24.66 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.2258, allocations: 4.859 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/0.2265, allocations: 461.5 kB / 0.9532 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2265, allocations: 34.56 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 2.234e-06/0.2265, allocations: 0 / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001033/0.2266, allocations: 37.58 kB / 0.9533 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.2267, allocations: 59.52 kB / 0.9533 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.364e-05/0.2267, allocations: 93.86 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2267, allocations: 29.64 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.2267, allocations: 84.08 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.2268, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.2268, allocations: 13.72 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.2269, allocations: 310.8 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.2269, allocations: 0 / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-06/0.2269, allocations: 4 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.235e-05/0.2269, allocations: 12.86 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.227, allocations: 0 / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.357e-05/0.227, allocations: 33.69 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.227, allocations: 8 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.227, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.227, allocations: 3.938 kB / 0.9539 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.044e-05/0.2271, allocations: 3.938 kB / 0.9539 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2271, allocations: 4 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-06/0.2271, allocations: 4.094 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.2271, allocations: 0 / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.2272, allocations: 105.8 kB / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-06/0.2272, allocations: 0 / 0.954 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.2272, allocations: 44.75 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.2272, allocations: 0 / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2273, allocations: 4 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2273, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.54e-05/0.2273, allocations: 145.7 kB / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2273, allocations: 4 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-05/0.2274, allocations: 3.984 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2274, allocations: 4 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.2274, allocations: 3.938 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2274, allocations: 0 / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2274, allocations: 3.938 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.067e-05/0.2274, allocations: 53.14 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.2275, allocations: 89.12 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.2275, allocations: 3.938 kB / 0.9543 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-06/0.2275, allocations: 3.938 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.2275, allocations: 3.984 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-06/0.2275, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.2276, allocations: 75.28 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2276, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001753/0.2277, allocations: 12 kB / 0.9544 GB, free: 4.293 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000161/0.2279, allocations: 123.2 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.127e-05/0.228, allocations: 7.938 kB / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.228, allocations: 0 / 0.9546 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.228, allocations: 4 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.2281, allocations: 10.12 kB / 0.9546 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001326/0.2282, allocations: 77.11 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.2285, allocations: 0.6766 MB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.536e-06/0.2285, allocations: 0 / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-06/0.2285, allocations: 7.438 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2285, allocations: 4 kB / 0.9553 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of Templates: time 0.001903/0.2304, allocations: 404.5 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches