Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009788/0.0009788, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009609/0.0009609, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9432/0.9432, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.778/1.778, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.517e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00159/0.001605, allocations: 1.489 MB / 0.813 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000422/0.002027, allocations: 251.7 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.002049, allocations: 1.25 kB / 0.8132 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.002074, allocations: 3.984 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.405e-05/0.002108, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.002407, allocations: 70.12 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5e-05/0.002457, allocations: 23.92 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.002531, allocations: 4 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.002573, allocations: 11.98 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.002599, allocations: 0 / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.00261, allocations: 4 kB / 0.8134 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.002719, allocations: 67.8 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.002732, allocations: 5.156 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.002749, allocations: 7.984 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002869, allocations: 55.86 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002871, allocations: 0.8125 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002871, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.002875, allocations: 0.5625 kB / 0.8135 GB, free: 15.76 MB / 0.7761 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.0002919/0.003167, allocations: 369.3 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.003198, allocations: 11.97 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.003229, allocations: 10.06 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.894e-05/0.003298, allocations: 108.6 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003308, allocations: 4.375 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003315, allocations: 1.906 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.003417, allocations: 58.94 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.003423, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.003431, allocations: 384 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.003437, allocations: 2.312 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.003463, allocations: 7.938 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.003699, allocations: 251.8 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.447e-05/0.003744, allocations: 27.06 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.003763, allocations: 9.125 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.004059, allocations: 85.11 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.00408, allocations: 33.92 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.00408, allocations: 0 / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.004202, allocations: 50.94 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.004227, allocations: 55.41 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.004302, allocations: 161.9 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.00431, allocations: 26.52 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.004367, allocations: 126.9 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.004383, allocations: 12.42 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004407, allocations: 20.75 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.004501, allocations: 0.4884 MB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.004512, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.00452, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.004544, allocations: 16.59 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004546, allocations: 4.844 kB / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.284e-05/0.004589, allocations: 37.64 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.004599, allocations: 5.281 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.004604, allocations: 3.938 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.004614, allocations: 3.984 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.004662, allocations: 4.719 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004666, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.00468, allocations: 4.875 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.004684, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 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.461e-05/0.004738, allocations: 162.1 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.004751, allocations: 7.984 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.426e-05/0.004816, allocations: 44.89 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.004817, allocations: 1.062 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.004821, allocations: 3.984 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.004823, allocations: 0 / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.862e-05/0.004902, allocations: 119.9 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.004903, allocations: 4 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.004922, allocations: 7.984 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.004923, allocations: 4 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.004928, allocations: 0 / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004929, allocations: 3.938 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.00493, allocations: 0 / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.119e-05/0.005001, allocations: 183.9 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.476e-06/0.005004, allocations: 4.5 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.005012, allocations: 0 / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.00504, allocations: 9.188 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.005069, allocations: 3.938 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005071, allocations: 0 / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.0051, allocations: 132.2 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0051, allocations: 0 / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001453/0.005245, allocations: 15.94 kB / 0.8161 GB, free: 12.84 MB / 0.7761 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.0001207/0.005366, allocations: 121.6 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.005429, allocations: 12.78 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00543, allocations: 0 / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.005446, allocations: 16.34 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.005594, allocations: 6.344 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.005793, allocations: 114.3 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.005824, allocations: 63.2 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.005837, allocations: 0 / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.005854, allocations: 15.53 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.005855, allocations: 0 / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002068/0.007923, allocations: 0.7589 MB / 0.8172 GB, free: 11.7 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.791924593038857]