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.001369/0.001369, allocations: 93.06 kB / 19.65 MB, free: 280 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.002051/0.002051, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9362/0.9362, allocations: 177.2 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.008/2.008, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.89e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002044/0.002073, allocations: 1.504 MB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.002501, allocations: 238.6 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.002524, allocations: 0.6562 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002551, allocations: 0 / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.002589, allocations: 7.734 kB / 0.8799 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.002908, allocations: 56.97 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.00297, allocations: 20.58 kB / 0.88 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.886e-05/0.003059, allocations: 4 kB / 0.88 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.003109, allocations: 19.48 kB / 0.88 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.00314, allocations: 7.922 kB / 0.88 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003153, allocations: 4 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.003273, allocations: 59.88 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.003288, allocations: 4 kB / 0.8801 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.003308, allocations: 3.984 kB / 0.8801 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003453, allocations: 63.8 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003455, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003456, allocations: 0 / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003461, allocations: 0 / 0.8801 GB, free: 4.383 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.0003529/0.003814, allocations: 369.5 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.003857, allocations: 12.03 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.003896, allocations: 5.844 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.003998, allocations: 112.6 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004009, allocations: 1.125 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.004017, allocations: 384 / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.00413, allocations: 58.42 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004137, allocations: 192 / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.004145, allocations: 384 / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.004152, allocations: 4.375 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.004181, allocations: 11.92 kB / 0.8807 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.004439, allocations: 247.8 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.004489, allocations: 27.06 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.00451, allocations: 15.78 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.004808, allocations: 77.98 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.00483, allocations: 33.39 kB / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004831, allocations: 0.8125 kB / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000151/0.004982, allocations: 47.11 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.005018, allocations: 55.39 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.005104, allocations: 165.9 kB / 0.8813 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005113, allocations: 25.7 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.005155, allocations: 135 kB / 0.8815 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.005173, allocations: 7.938 kB / 0.8815 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.005197, allocations: 23.36 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005305, allocations: 496.1 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.005318, allocations: 4 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-06/0.005327, allocations: 0 / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.503e-05/0.005352, allocations: 11.69 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005354, allocations: 0 / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.033e-05/0.005405, allocations: 45.62 kB / 0.882 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005417, allocations: 8.094 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.005423, allocations: 7.938 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005436, allocations: 0 / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/0.005492, allocations: 4 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.005496, allocations: 0 / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.005515, allocations: 11.94 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005519, allocations: 0 / 0.8821 GB, free: 2.199 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 5.533e-05/0.005575, allocations: 156.5 kB / 0.8822 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.005587, allocations: 4 kB / 0.8822 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.451e-05/0.005672, allocations: 56.88 kB / 0.8823 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.005673, allocations: 4.031 kB / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.005677, allocations: 0 / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.00568, allocations: 0 / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.257e-05/0.005772, allocations: 116.6 kB / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.005774, allocations: 0 / 0.8824 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.005803, allocations: 4 kB / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.005806, allocations: 0 / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.005813, allocations: 0 / 0.8824 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.005816, allocations: 7.938 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.005818, allocations: 0 / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.461e-05/0.005912, allocations: 187.9 kB / 0.8826 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-06/0.00592, allocations: 4 kB / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-06/0.005929, allocations: 0 / 0.8826 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.005958, allocations: 3.938 kB / 0.8826 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.005997, allocations: 11.92 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.006, allocations: 3.938 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.006033, allocations: 123.2 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006033, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001584/0.006192, allocations: 19.95 kB / 0.8827 GB, free: 1.438 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.0001625/0.006354, allocations: 119.2 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.006435, allocations: 15.69 kB / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006437, allocations: 0 / 0.8829 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.68e-05/0.006454, allocations: 15.67 kB / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.006624, allocations: 0 / 0.8829 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.006869, allocations: 118.4 kB / 0.883 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.232e-05/0.006901, allocations: 51.36 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.006917, allocations: 4 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.006938, allocations: 8.5 kB / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/0.006938, allocations: 0 / 0.883 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of Templates: time 0.002477/0.009415, allocations: 0.7595 MB / 0.8838 GB, free: 296 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.116016123909503]