Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.001671/0.001671, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.002223/0.002223, allocations: 173 kB / 24.06 MB, free: 456 kB / 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 1.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.095/2.095, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.896e-05, allocations: 8.141 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003155/0.003184, allocations: 1.496 MB / 0.8809 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005973/0.003782, allocations: 237.8 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.003816, allocations: 0.9062 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.003853, allocations: 7.922 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.003906, allocations: 10.11 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.00432, allocations: 59.77 kB / 0.8812 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.004386, allocations: 24.48 kB / 0.8812 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.004471, allocations: 4 kB / 0.8812 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.004533, allocations: 16.62 kB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.004572, allocations: 9.062 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.004585, allocations: 0 / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.004741, allocations: 59.81 kB / 0.8813 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.004758, allocations: 5.125 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.004777, allocations: 11.97 kB / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.004928, allocations: 51.88 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004932, allocations: 1.031 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004933, allocations: 0 / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.004938, allocations: 7.922 kB / 0.8813 GB, free: 4.062 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.0004244/0.005362, allocations: 369.6 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.005404, allocations: 8.031 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.005444, allocations: 6.031 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.005561, allocations: 112.6 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.005576, allocations: 8.312 kB / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.005583, allocations: 1.469 kB / 0.8818 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.005727, allocations: 58.92 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005737, allocations: 192 / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.005746, allocations: 5.094 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.005752, allocations: 384 / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.005783, allocations: 11.22 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.006064, allocations: 228.4 kB / 0.8821 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.006125, allocations: 35.03 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.006143, allocations: 7.688 kB / 0.8822 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.006562, allocations: 77.23 kB / 0.8822 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.006591, allocations: 33.39 kB / 0.8823 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.006592, allocations: 5.562 kB / 0.8823 GB, free: 3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.006741, allocations: 41.62 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.006773, allocations: 59.34 kB / 0.8824 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.006854, allocations: 155 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006865, allocations: 25.7 kB / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.006914, allocations: 130.9 kB / 0.8827 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.006936, allocations: 17.41 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.006972, allocations: 15.38 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.007113, allocations: 496.1 kB / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.007128, allocations: 0 / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.007141, allocations: 4.125 kB / 0.8832 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.007175, allocations: 15.69 kB / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.007177, allocations: 0 / 0.8832 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.895e-05/0.007256, allocations: 41.62 kB / 0.8832 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.007271, allocations: 8 kB / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007275, allocations: 0 / 0.8832 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.007288, allocations: 3.938 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.007359, allocations: 4 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.007362, allocations: 3.938 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.007392, allocations: 12.03 kB / 0.8833 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.007397, allocations: 4 kB / 0.8833 GB, free: 1.91 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 7.848e-05/0.007475, allocations: 152.6 kB / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.007502, allocations: 4 kB / 0.8834 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.007592, allocations: 41 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.007598, allocations: 11.94 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.0076, allocations: 0 / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007603, allocations: 0 / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.007738, allocations: 97.25 kB / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.007739, allocations: 0 / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.007783, allocations: 19.95 kB / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.007786, allocations: 0 / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.00779, allocations: 0 / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.007792, allocations: 0 / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007793, allocations: 0 / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.007916, allocations: 187.9 kB / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.007922, allocations: 0 / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.007933, allocations: 0 / 0.8837 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.007994, allocations: 4 kB / 0.8837 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.008024, allocations: 3.984 kB / 0.8838 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.008032, allocations: 11.94 kB / 0.8838 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.008079, allocations: 127.4 kB / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008079, allocations: 0 / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002981/0.008377, allocations: 23.89 kB / 0.8839 GB, free: 1.176 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.0001981/0.008575, allocations: 119.2 kB / 0.884 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.008647, allocations: 11.69 kB / 0.884 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008649, allocations: 4.062 kB / 0.884 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.008672, allocations: 11.69 kB / 0.884 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.008936, allocations: 11.92 kB / 0.8841 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.009195, allocations: 102.4 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.009226, allocations: 59.3 kB / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.009242, allocations: 0 / 0.8842 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.009282, allocations: 70.2 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/0.009282, allocations: 8 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of Templates: time 0.002389/0.01167, allocations: 0.7927 MB / 0.8851 GB, free: 15.94 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.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.2893133400939405]