Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9651/0.9651, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.086/2.086, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.063e-05/4.272e-05, allocations: 8.375 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003148/0.003191, allocations: 1.495 MB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005529/0.003744, allocations: 238.3 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.003776, allocations: 0.7812 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.00381, allocations: 0.5469 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.235e-05/0.003862, allocations: 3.156 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.004304, allocations: 60.58 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.004385, allocations: 27.86 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.004477, allocations: 1.062 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.004534, allocations: 15.98 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.004571, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.004585, allocations: 5.094 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.004743, allocations: 63.86 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.004764, allocations: 7.938 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.004785, allocations: 0.6562 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004962, allocations: 63.84 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.004965, allocations: 0.5625 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.004967, allocations: 0.9062 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.004972, allocations: 0 / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004493/0.005421, allocations: 365.7 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.005468, allocations: 12.03 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.005513, allocations: 4.922 kB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.005619, allocations: 116.5 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005631, allocations: 1.406 kB / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.005645, allocations: 384 / 0.8806 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.005802, allocations: 60.06 kB / 0.8806 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.005813, allocations: 192 / 0.8806 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.005824, allocations: 4.312 kB / 0.8806 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.005835, allocations: 5.5 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.00587, allocations: 11.92 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.006214, allocations: 247.8 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.023e-05/0.006274, allocations: 30.19 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.006302, allocations: 11.75 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.0067, allocations: 79.91 kB / 0.881 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.006731, allocations: 34.8 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.783e-06/0.006733, allocations: 0 / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.006923, allocations: 45.58 kB / 0.8811 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.006963, allocations: 51.94 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.00706, allocations: 163.5 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007073, allocations: 25.7 kB / 0.8813 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.007135, allocations: 130.9 kB / 0.8814 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.007156, allocations: 3.953 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.007195, allocations: 19.38 kB / 0.8815 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.00735, allocations: 0.4894 MB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.007372, allocations: 4 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.007385, allocations: 0.5 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.007422, allocations: 13.28 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.007426, allocations: 4 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.486e-05/0.007511, allocations: 45.62 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.007528, allocations: 8.219 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.007535, allocations: 7.938 kB / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.007554, allocations: 0 / 0.882 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.765e-05/0.007632, allocations: 4 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.007638, allocations: 0 / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.007663, allocations: 7.953 kB / 0.882 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.007669, allocations: 0 / 0.882 GB, free: 2.156 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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 8.198e-05/0.007751, allocations: 160.5 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.007778, allocations: 4 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.007906, allocations: 52.88 kB / 0.8822 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.007908, allocations: 4.031 kB / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.007912, allocations: 0 / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007916, allocations: 0 / 0.8823 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.008043, allocations: 112.6 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.008045, allocations: 3.938 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.008079, allocations: 7.984 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008082, allocations: 0 / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008087, allocations: 0 / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.008091, allocations: 7.938 kB / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008092, allocations: 0 / 0.8824 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.008224, allocations: 187.9 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.008232, allocations: 4 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.008246, allocations: 0 / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.0083, allocations: 3.938 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.008343, allocations: 7.984 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.008347, allocations: 0 / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.008396, allocations: 135.3 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008396, allocations: 0 / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000278/0.008674, allocations: 15.95 kB / 0.8827 GB, free: 1.391 MB / 0.8386 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 (2): * Single equations (assignments): 2 * 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.0002522/0.008927, allocations: 123.2 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.009038, allocations: 15.69 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.00904, allocations: 0 / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.009066, allocations: 11.69 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009364, allocations: 7.984 kB / 0.8829 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.009673, allocations: 118.4 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.154e-05/0.009715, allocations: 51.36 kB / 0.883 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.009741, allocations: 8 kB / 0.883 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.009771, allocations: 8.5 kB / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of SimCode: time 9.21e-07/0.009772, allocations: 0 / 0.883 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of Templates: time 0.003236/0.01301, allocations: 0.6804 MB / 0.8837 GB, free: 320 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.275471216998994]