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.001302/0.001302, allocations: 87.58 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.001403/0.001403, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9237/0.9237, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.876/1.876, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.763e-06/1.763e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.726e-05, allocations: 5.125 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001835/0.001852, allocations: 1.479 MB / 0.813 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.00229, allocations: 243.1 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.00232, allocations: 5.469 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.002351, allocations: 3.938 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.002396, allocations: 0 / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.002792, allocations: 72.33 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.00287, allocations: 23.92 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.002948, allocations: 1.25 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.002999, allocations: 11.98 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.003035, allocations: 7.984 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.003049, allocations: 5.375 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.003189, allocations: 63.81 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.003203, allocations: 7.938 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.003221, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003363, allocations: 61.06 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003365, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003365, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003369, allocations: 0.9062 kB / 0.8135 GB, free: 15.77 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.0003758/0.003745, allocations: 364.6 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003781, allocations: 12.88 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.003817, allocations: 4.891 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.003904, allocations: 121.6 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003915, allocations: 384 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.003927, allocations: 384 / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004044, allocations: 56.48 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.004054, allocations: 192 / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.004064, allocations: 4.375 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.004071, allocations: 384 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.004101, allocations: 9.859 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.004372, allocations: 247.8 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.004426, allocations: 39.03 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.004448, allocations: 11.67 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.00481, allocations: 78.58 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.004832, allocations: 33.39 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.004833, allocations: 0.5312 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.004982, allocations: 54.05 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.005008, allocations: 52.38 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.343e-05/0.005081, allocations: 161.9 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005091, allocations: 29.7 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.005133, allocations: 127.6 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.00515, allocations: 3.953 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.005183, allocations: 23.91 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.005294, allocations: 493 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.005308, allocations: 4 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.00532, allocations: 4.828 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.005347, allocations: 15.69 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005349, allocations: 1.281 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.734e-05/0.005406, allocations: 37.64 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.00542, allocations: 8.812 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.00543, allocations: 3.938 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.005449, allocations: 0 / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.005507, allocations: 8.859 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.005512, allocations: 0 / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.005533, allocations: 9.5 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.005538, 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 6.125e-05/0.005599, allocations: 156.6 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.005621, allocations: 9.156 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.803e-05/0.005699, allocations: 48.88 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005701, allocations: 4 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.005704, allocations: 3.188 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005707, allocations: 3.938 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.005816, allocations: 112.6 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005817, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.005839, allocations: 4 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00584, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.005847, allocations: 3.984 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005849, allocations: 3.938 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005849, allocations: 4.5 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.677e-05/0.005946, allocations: 185.1 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.005952, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.005963, allocations: 7.984 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.00601, allocations: 5.031 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.006044, allocations: 8 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006047, allocations: 0 / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.479e-05/0.006081, allocations: 128.2 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006082, allocations: 0 / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002363/0.006318, 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.0001602/0.006478, allocations: 117.6 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.006556, allocations: 16.34 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.006559, allocations: 6.438 kB / 0.8162 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.006578, allocations: 11.69 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.0002235/0.006802, allocations: 7.875 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.000224/0.007026, allocations: 114.4 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.007065, allocations: 66.2 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.434e-05/0.007079, allocations: 3.938 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.007099, allocations: 8.5 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of SimCode: time 2.91e-07/0.007099, allocations: 0 / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002467/0.009567, allocations: 0.6984 MB / 0.8171 GB, free: 11.76 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: 5.23583458410576]