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.001019/0.001019, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001013/0.001013, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9372/0.9372, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.834/1.834, allocations: 377.9 MB / 0.624 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 2.425e-06/2.425e-06, allocations: 0 / 0.812 GB, free: 288 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.611e-05, allocations: 2.969 kB / 0.812 GB, free: 284 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002007/0.002033, allocations: 1.499 MB / 0.8135 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004057/0.002438, allocations: 235.6 kB / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.002467, allocations: 0 / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.002491, allocations: 1.25 kB / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.002533, allocations: 7.875 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.002845, allocations: 62.22 kB / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.002896, allocations: 19.92 kB / 0.8138 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.002972, allocations: 8 kB / 0.8138 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.003024, allocations: 11.98 kB / 0.8138 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.003056, allocations: 11.92 kB / 0.8138 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.003065, allocations: 0 / 0.8138 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.003179, allocations: 59.88 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.003191, allocations: 1.5 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.372e-05/0.003205, allocations: 11.98 kB / 0.8139 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003315, allocations: 59.8 kB / 0.8139 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003316, allocations: 0 / 0.8139 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003317, allocations: 0.5312 kB / 0.8139 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.00332, allocations: 1.375 kB / 0.8139 GB, free: 14.31 MB / 0.7292 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.0002994/0.00362, allocations: 364.2 kB / 0.8143 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.003654, allocations: 8.031 kB / 0.8143 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.003683, allocations: 10.39 kB / 0.8143 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.058e-05/0.003754, allocations: 108.6 kB / 0.8144 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003762, allocations: 384 / 0.8144 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.003771, allocations: 8.375 kB / 0.8144 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.003862, allocations: 51.89 kB / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.003869, allocations: 4.188 kB / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.003874, allocations: 1.281 kB / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003879, allocations: 384 / 0.8145 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.003899, allocations: 16.94 kB / 0.8145 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.004102, allocations: 228.4 kB / 0.8147 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.004141, allocations: 28.53 kB / 0.8147 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.004155, allocations: 15.75 kB / 0.8147 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.004409, allocations: 70.41 kB / 0.8148 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004429, allocations: 41.39 kB / 0.8148 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.00443, allocations: 0 / 0.8148 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001143/0.004544, allocations: 51.11 kB / 0.8149 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.004566, allocations: 51.41 kB / 0.8149 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.004632, allocations: 161.9 kB / 0.8151 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.00464, allocations: 25.7 kB / 0.8151 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.004677, allocations: 126.9 kB / 0.8152 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.004698, allocations: 12.89 kB / 0.8153 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.004721, allocations: 19.38 kB / 0.8153 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004822, allocations: 0.4889 MB / 0.8158 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.004831, allocations: 0 / 0.8158 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.00484, allocations: 4.516 kB / 0.8158 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/0.004862, allocations: 12.72 kB / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.004864, allocations: 0 / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.854e-05/0.004912, allocations: 38.3 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.004923, allocations: 8.844 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.004927, allocations: 0 / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004938, allocations: 4.781 kB / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.004988, allocations: 11.98 kB / 0.8158 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.00499, allocations: 1.281 kB / 0.8158 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.616e-05/0.005006, allocations: 4 kB / 0.8158 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.00501, allocations: 0 / 0.8158 GB, free: 12.18 MB / 0.7292 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.643e-05/0.005066, allocations: 157.4 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.00508, allocations: 4 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.00515, allocations: 49.84 kB / 0.816 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.005153, allocations: 7.938 kB / 0.816 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005155, allocations: 1.531 kB / 0.816 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005157, allocations: 0 / 0.816 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/0.00524, allocations: 97.25 kB / 0.8161 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005241, allocations: 0 / 0.8161 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.00526, allocations: 5.219 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.005261, allocations: 0 / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.005265, allocations: 0 / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005266, allocations: 3.125 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.005267, allocations: 4 kB / 0.8161 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.221e-05/0.00535, allocations: 191.8 kB / 0.8163 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.005354, allocations: 0 / 0.8163 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-06/0.005363, allocations: 4 kB / 0.8163 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/0.005391, allocations: 3.984 kB / 0.8163 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.005413, allocations: 0 / 0.8163 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.005417, allocations: 11.88 kB / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.00545, allocations: 124.3 kB / 0.8165 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00545, allocations: 0 / 0.8165 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001574/0.005608, allocations: 23.92 kB / 0.8165 GB, free: 11.45 MB / 0.7292 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.0001334/0.005741, allocations: 114 kB / 0.8166 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.596e-05/0.005797, allocations: 19.67 kB / 0.8166 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.005799, allocations: 5.031 kB / 0.8166 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.005811, allocations: 7.688 kB / 0.8166 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.005964, allocations: 9.281 kB / 0.8166 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001902/0.006154, allocations: 114.3 kB / 0.8168 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.006183, allocations: 56.39 kB / 0.8168 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.006198, allocations: 0 / 0.8168 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.006238, allocations: 74.84 kB / 0.8169 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.006239, allocations: 2.5 kB / 0.8169 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.002205/0.008444, allocations: 0.7699 MB / 0.8176 GB, free: 10.24 MB / 0.7292 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: 4.954928745981306]