Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.0018/0.0018, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002191/0.002191, allocations: 168.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.038/3.038, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.683e-05/3.901e-05, allocations: 2.281 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8687/0.8688, allocations: 147.5 MB / 1.144 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.8713, allocations: 1.465 MB / 1.146 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.8716, allocations: 19.03 kB / 1.146 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.8721, allocations: 156.4 kB / 1.146 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.8739, allocations: 0.7106 MB / 1.147 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.8754, allocations: 0.6495 MB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.8762, allocations: 0.68 MB / 1.148 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.8765, allocations: 173.7 kB / 1.148 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.8777, allocations: 0.5788 MB / 1.149 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.878, allocations: 195.7 kB / 1.149 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.878, allocations: 21.41 kB / 1.149 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.8792, allocations: 0.7164 MB / 1.149 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.8794, allocations: 116.4 kB / 1.15 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.8795, allocations: 114.6 kB / 1.15 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009032/0.8804, allocations: 0.7284 MB / 1.15 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8804, allocations: 1.062 kB / 1.15 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8804, allocations: 1.594 kB / 1.15 GB, free: 45.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.8804, allocations: 0 / 1.15 GB, free: 45.11 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008314/0.8813, allocations: 0.5808 MB / 1.151 GB, free: 44.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.8813, allocations: 10.34 kB / 1.151 GB, free: 44.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.8824, allocations: 162.7 kB / 1.151 GB, free: 44.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.8829, allocations: 254.5 kB / 1.151 GB, free: 44.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.8829, allocations: 15.78 kB / 1.151 GB, free: 44.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.883, allocations: 27.97 kB / 1.151 GB, free: 44.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.8834, allocations: 274.8 kB / 1.152 GB, free: 44.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.8834, allocations: 4.125 kB / 1.152 GB, free: 44.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.8835, allocations: 6.562 kB / 1.152 GB, free: 44.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.8835, allocations: 3.062 kB / 1.152 GB, free: 44.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.8839, allocations: 199.1 kB / 1.152 GB, free: 44.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.8849, allocations: 0.9182 MB / 1.153 GB, free: 43.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.8852, allocations: 133.4 kB / 1.153 GB, free: 43.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.8854, allocations: 87.48 kB / 1.153 GB, free: 43.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.8858, allocations: 71.69 kB / 1.153 GB, free: 43.85 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.8858, allocations: 33.94 kB / 1.153 GB, free: 43.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.8858, allocations: 1.203 kB / 1.153 GB, free: 43.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0007084/0.8865, allocations: 280.7 kB / 1.153 GB, free: 43.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.8866, allocations: 53.91 kB / 1.153 GB, free: 43.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.8868, allocations: 249.5 kB / 1.154 GB, free: 43.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.8868, allocations: 29.7 kB / 1.154 GB, free: 43.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.8869, allocations: 180.2 kB / 1.154 GB, free: 43.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.8869, allocations: 60.19 kB / 1.154 GB, free: 43.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.887, allocations: 41.98 kB / 1.154 GB, free: 43.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/0.8871, allocations: 336.5 kB / 1.154 GB, free: 43.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.8872, allocations: 66.84 kB / 1.154 GB, free: 43.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8874, allocations: 200.8 kB / 1.155 GB, free: 42.93 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.8878, allocations: 190.6 kB / 1.155 GB, free: 42.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8878, allocations: 1 kB / 1.155 GB, free: 42.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004077/0.8882, allocations: 239.8 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8882, allocations: 8.344 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8882, allocations: 3.562 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.8882, allocations: 2.844 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.8884, allocations: 49.78 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8884, allocations: 2.594 kB / 1.155 GB, free: 42.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.8886, allocations: 20.22 kB / 1.155 GB, free: 42.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.8886, allocations: 11.28 kB / 1.155 GB, free: 42.82 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 0.0001055/0.8887, allocations: 152.8 kB / 1.155 GB, free: 42.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.8887, allocations: 22.67 kB / 1.155 GB, free: 42.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.8892, allocations: 203.1 kB / 1.155 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.8892, allocations: 4.625 kB / 1.155 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8892, allocations: 3.938 kB / 1.155 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8892, allocations: 5.625 kB / 1.155 GB, free: 42.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.89, allocations: 0.6039 MB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.89, allocations: 2.5 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.8902, allocations: 28.33 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.8902, allocations: 2.875 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.8902, allocations: 6.719 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.8902, allocations: 9.281 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.8902, allocations: 3.281 kB / 1.156 GB, free: 42.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.8908, allocations: 427.6 kB / 1.156 GB, free: 42.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.8908, allocations: 43.8 kB / 1.156 GB, free: 42.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.8909, allocations: 4.156 kB / 1.156 GB, free: 42.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.891, allocations: 12.7 kB / 1.157 GB, free: 42.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.8911, allocations: 17.17 kB / 1.157 GB, free: 42.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.8911, allocations: 9.031 kB / 1.157 GB, free: 42.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001162/0.8912, allocations: 178.3 kB / 1.157 GB, free: 42.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8912, allocations: 0 / 1.157 GB, free: 42.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003749/0.8916, allocations: 87.45 kB / 1.157 GB, free: 42.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002524/0.8918, allocations: 151.3 kB / 1.157 GB, free: 41.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003912/0.8922, allocations: 170.9 kB / 1.157 GB, free: 41.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8922, allocations: 0.9375 kB / 1.157 GB, free: 41.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8924, allocations: 82.86 kB / 1.157 GB, free: 41.95 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000684/0.8931, allocations: 107.5 kB / 1.157 GB, free: 41.95 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.8939, allocations: 0.5443 MB / 1.158 GB, free: 41.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.894, allocations: 178.8 kB / 1.158 GB, free: 41.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.8941, allocations: 51.3 kB / 1.158 GB, free: 41.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.8942, allocations: 20.91 kB / 1.158 GB, free: 41.55 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.8942, allocations: 0 / 1.158 GB, free: 41.55 MB / 1.076 GB Notification: Performance of Templates: time 0.008315/0.9025, allocations: 4.558 MB / 1.162 GB, free: 41.27 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.45887840166688]