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.001345/0.001345, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001058/0.001058, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.04/1.04, allocations: 177.1 MB / 205.3 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.907/1.907, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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.393e-06/1.393e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.223e-05, allocations: 3.125 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002254/0.002276, allocations: 1.477 MB / 0.8142 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.002724, allocations: 248.6 kB / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.002756, allocations: 4 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.002782, allocations: 1.406 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.002828, allocations: 3.938 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.003166, allocations: 67.73 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.003225, allocations: 17.16 kB / 0.8146 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.003308, allocations: 7.984 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.003357, allocations: 8 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.003398, allocations: 12.61 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.00341, allocations: 4 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.003553, allocations: 64.77 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.00357, allocations: 4 kB / 0.8147 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.003584, allocations: 4.656 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003704, allocations: 59.84 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003706, allocations: 4.719 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.003707, allocations: 0 / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003711, allocations: 1.25 kB / 0.8147 GB, free: 15.49 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.0003053/0.004016, allocations: 368.5 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004046, allocations: 8.031 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/0.004073, allocations: 10.95 kB / 0.8151 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.004153, allocations: 116.6 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.004163, allocations: 384 / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-06/0.004169, allocations: 4.375 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.004262, allocations: 46.95 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004269, allocations: 1.125 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.004276, allocations: 8.359 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004281, allocations: 384 / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.0043, allocations: 13.39 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.00455, allocations: 228.5 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.004592, allocations: 27.06 kB / 0.8155 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.004607, allocations: 12.72 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.004882, allocations: 73.64 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.004904, allocations: 42.98 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004905, allocations: 0 / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.005024, allocations: 45.53 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.005051, allocations: 51.41 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.005113, allocations: 158.5 kB / 0.8159 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.005121, allocations: 30.39 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.005161, allocations: 130.9 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.005178, allocations: 8.391 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.005203, allocations: 24.05 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.00533, allocations: 492.1 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.005343, allocations: 4.984 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.005352, allocations: 4 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.823e-05/0.00538, allocations: 16.16 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005382, allocations: 1.375 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.416e-05/0.005436, allocations: 37.7 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.005447, allocations: 4 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.00545, allocations: 1.219 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.005459, allocations: 3.938 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.005504, allocations: 11.98 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.005506, allocations: 0.5625 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.005521, allocations: 4.75 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.005525, allocations: 4 kB / 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 6.476e-05/0.00559, allocations: 154.2 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.005605, allocations: 0 / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.005675, allocations: 48.94 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.005678, allocations: 3.938 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005679, allocations: 0.9375 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005682, allocations: 0 / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.005776, allocations: 102.6 kB / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.005778, allocations: 0 / 0.8169 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.005798, allocations: 8 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.0058, allocations: 0 / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.005803, allocations: 0.6875 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.005806, allocations: 7.984 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005807, allocations: 0.5 kB / 0.8169 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.402e-05/0.005901, allocations: 193.7 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.005906, allocations: 4 kB / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.005913, allocations: 0 / 0.8171 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.005942, allocations: 7.984 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.005966, allocations: 0.8438 kB / 0.8171 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.005969, allocations: 3.938 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.006002, allocations: 127.2 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006002, allocations: 3.438 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001577/0.006159, allocations: 15.94 kB / 0.8173 GB, free: 12.63 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.0001547/0.006314, allocations: 115.6 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.006379, allocations: 16.3 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00638, allocations: 0 / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.006397, allocations: 16.12 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.006566, allocations: 9.594 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.0002095/0.006776, allocations: 110.5 kB / 0.8175 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.006807, allocations: 63.97 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.006826, allocations: 4.641 kB / 0.8176 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.006866, allocations: 70.2 kB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006867, allocations: 1.875 kB / 0.8177 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.002307/0.009174, allocations: 0.7869 MB / 0.8184 GB, free: 11.41 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.2343617817386985]