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.0008329/0.0008329, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009311/0.0009311, allocations: 169 kB / 24.28 MB, free: 276 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.817/1.817, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.55e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001673/0.001689, allocations: 1.495 MB / 0.813 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.002082, allocations: 240.7 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.002112, allocations: 0 / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.002139, allocations: 0 / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.00218, allocations: 3.938 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.002495, allocations: 53.58 kB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.002563, allocations: 23.92 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.002657, allocations: 3.984 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.378e-05/0.002711, allocations: 11.98 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.00275, allocations: 17.08 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.002764, allocations: 4 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.00288, allocations: 51.89 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.002895, allocations: 5.094 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.002916, allocations: 11.97 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.003052, allocations: 51.81 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003054, allocations: 0.8438 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003055, allocations: 4 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003058, allocations: 2.188 kB / 0.8135 GB, free: 96 kB / 0.7605 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.0004038/0.003462, allocations: 368.5 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.003506, allocations: 8.031 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.00355, allocations: 4.938 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.003663, allocations: 120.5 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.003676, allocations: 0.9062 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.003685, allocations: 384 / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.003824, allocations: 55.67 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.003832, allocations: 0.6875 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.003843, allocations: 384 / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.003853, allocations: 1.969 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.664e-05/0.00389, allocations: 11.92 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.004225, allocations: 243.8 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.769e-05/0.004282, allocations: 39.66 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.004308, allocations: 11.75 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003257/0.004633, allocations: 65.95 kB / 0.8144 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.004658, allocations: 42.02 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.515e-06/0.004661, allocations: 1.375 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.004813, allocations: 49.52 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.004839, allocations: 51.41 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.00491, allocations: 162.7 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004922, allocations: 29.7 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.004968, allocations: 127.8 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.004987, allocations: 11.94 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.005015, allocations: 23.31 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.005128, allocations: 493.3 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.00514, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.005149, allocations: 4 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.005173, allocations: 16.66 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005175, allocations: 0 / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.435e-05/0.00522, allocations: 43.94 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.00523, allocations: 4 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005235, allocations: 7.938 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.005245, allocations: 0 / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.005295, allocations: 4 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005299, allocations: 3.344 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.005318, allocations: 11.98 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005323, allocations: 0 / 0.8154 GB, free: 13.92 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.358e-05/0.005376, allocations: 160.5 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.00539, allocations: 4 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.005451, allocations: 44.94 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005453, allocations: 4 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005456, allocations: 0 / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.005459, allocations: 4.938 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.107e-05/0.00554, allocations: 112.6 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00554, allocations: 0 / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.611e-05/0.005556, allocations: 4.5 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.005558, allocations: 0.5625 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005564, allocations: 4.562 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005566, allocations: 3.938 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.005567, allocations: 5.062 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.538e-05/0.005643, allocations: 183.9 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.005647, allocations: 1.094 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.005656, allocations: 4 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.968e-05/0.005686, allocations: 7.938 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.005717, allocations: 4.641 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-06/0.005719, allocations: 4.562 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.969e-05/0.005749, allocations: 119.2 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005749, allocations: 5.031 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001519/0.005901, allocations: 15.94 kB / 0.8161 GB, free: 13.18 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.0001326/0.006033, allocations: 121.1 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.006101, allocations: 20.81 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.006102, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.006119, allocations: 16.77 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.006277, allocations: 3.938 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.006485, allocations: 115.4 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.006515, allocations: 55.81 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.006529, allocations: 8.531 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.006548, allocations: 10.03 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.006548, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.002073/0.008622, allocations: 0.6903 MB / 0.8171 GB, free: 12.1 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: 4.9863993800245225]