Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009203/0.0009203, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001287/0.001287, allocations: 170.5 kB / 24.87 MB, free: 9.285 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.9673/0.9673, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.702e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001936/0.001963, allocations: 1.48 MB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0005475/0.002511, allocations: 236.8 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.00254, allocations: 0 / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.002566, allocations: 5.625 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.002606, allocations: 3.938 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.002909, allocations: 59.81 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.002964, allocations: 23.92 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.529e-05/0.00304, allocations: 5.531 kB / 0.8145 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.003086, allocations: 11.98 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.901e-05/0.003115, allocations: 8 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.003125, allocations: 0 / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.003251, allocations: 65.55 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.003266, allocations: 4 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.003279, allocations: 4 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.0034, allocations: 63.78 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003402, allocations: 0 / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003403, allocations: 1.094 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003407, allocations: 0 / 0.8147 GB, free: 15.48 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.0003181/0.003725, allocations: 373.4 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.003757, allocations: 8.031 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.003785, allocations: 4.938 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.003868, allocations: 113.6 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003878, allocations: 384 / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.003885, allocations: 6.75 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.003987, allocations: 54.89 kB / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.003994, allocations: 192 / 0.8152 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.004, allocations: 4.375 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.004005, allocations: 384 / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.004022, allocations: 7.922 kB / 0.8152 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.004233, allocations: 233 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.004275, allocations: 31.72 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.00429, allocations: 11.75 kB / 0.8155 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.004551, allocations: 70.05 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.004572, allocations: 34.02 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.004573, allocations: 0 / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.004687, allocations: 46.27 kB / 0.8156 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.004712, allocations: 56.09 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.004772, allocations: 157.9 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.004782, allocations: 30.2 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.004819, allocations: 135.6 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.004833, allocations: 3.953 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.004862, allocations: 20.75 kB / 0.816 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.004968, allocations: 496.1 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.004978, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.004987, allocations: 0.8125 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.00501, allocations: 15.67 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005012, allocations: 0.9375 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.642e-05/0.005058, allocations: 37.7 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.00507, allocations: 13.16 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005074, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.005083, allocations: 3.938 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.005128, allocations: 12.83 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.00513, allocations: 0 / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.005148, allocations: 6.219 kB / 0.8166 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.005151, allocations: 0 / 0.8166 GB, free: 13.35 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.949e-05/0.005211, allocations: 156.5 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.005227, allocations: 4 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.005289, allocations: 41 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.005293, allocations: 11.12 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.005294, allocations: 0 / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005296, allocations: 0 / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.639e-05/0.005383, allocations: 97.25 kB / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.005384, allocations: 0 / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.005404, allocations: 4 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.005406, allocations: 0 / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.00541, allocations: 4 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.005412, allocations: 5.125 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005413, allocations: 0 / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.333e-05/0.005497, allocations: 196 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.005503, allocations: 4.578 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.00551, allocations: 0 / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.00554, allocations: 8.547 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.005563, allocations: 1.188 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.005566, allocations: 3.938 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.185e-05/0.005598, allocations: 127.2 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005598, allocations: 1.094 kB / 0.8172 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001635/0.005761, allocations: 20 kB / 0.8173 GB, free: 12.62 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.0001343/0.005896, allocations: 117.8 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.08e-05/0.005956, allocations: 15.62 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005958, allocations: 1 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.005974, allocations: 15.67 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.006137, allocations: 5.062 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.006322, allocations: 107.6 kB / 0.8175 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.006352, allocations: 67.09 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.367e-05/0.006366, allocations: 0 / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.006402, allocations: 71.2 kB / 0.8176 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.006403, allocations: 0 / 0.8176 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.002165/0.008568, allocations: 0.7809 MB / 0.8184 GB, free: 11.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.117421829141676]