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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 188.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.862/2.862, allocations: 495.7 MB / 0.7831 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001902/0.001902, allocations: 71.36 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1828/0.4884, allocations: 168.1 MB / 1.471 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.4912, allocations: 1.559 MB / 1.473 GB, free: 7.617 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.4916, allocations: 19.81 kB / 1.473 GB, free: 7.598 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.4921, allocations: 150.9 kB / 1.473 GB, free: 7.449 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.4939, allocations: 0.7429 MB / 1.474 GB, free: 6.703 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.4955, allocations: 0.6339 MB / 1.474 GB, free: 6.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.4964, allocations: 0.7051 MB / 1.475 GB, free: 5.363 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.4968, allocations: 193 kB / 1.475 GB, free: 5.176 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001071/0.4979, allocations: 0.4943 MB / 1.476 GB, free: 4.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.4982, allocations: 239.1 kB / 1.476 GB, free: 4.445 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.4983, allocations: 20 kB / 1.476 GB, free: 4.426 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.4998, allocations: 0.9313 MB / 1.477 GB, free: 3.492 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.5, allocations: 115.6 kB / 1.477 GB, free: 3.379 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.5002, allocations: 159.2 kB / 1.477 GB, free: 3.223 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.5015, allocations: 0.732 MB / 1.478 GB, free: 2.488 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5015, allocations: 0 / 1.478 GB, free: 2.488 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5015, allocations: 0 / 1.478 GB, free: 2.488 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.5015, allocations: 0 / 1.478 GB, free: 2.488 MB / 1.17 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.001038/0.5025, allocations: 0.5901 MB / 1.478 GB, free: 1.867 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5026, allocations: 8.031 kB / 1.478 GB, free: 1.859 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.5037, allocations: 147.6 kB / 1.478 GB, free: 1.715 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.5043, allocations: 268 kB / 1.479 GB, free: 1.426 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.5043, allocations: 16.44 kB / 1.479 GB, free: 1.41 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.5043, allocations: 20 kB / 1.479 GB, free: 1.391 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.5049, allocations: 283.4 kB / 1.479 GB, free: 1.09 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5049, allocations: 0 / 1.479 GB, free: 1.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.5049, allocations: 8 kB / 1.479 GB, free: 1.082 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5049, allocations: 8 kB / 1.479 GB, free: 1.074 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.5053, allocations: 191.8 kB / 1.479 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.5068, allocations: 1.175 MB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.5071, allocations: 136.5 kB / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.5073, allocations: 84.81 kB / 1.481 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/0.5077, allocations: 72.19 kB / 1.481 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5078, allocations: 42.5 kB / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.5078, allocations: 0 / 1.481 GB, free: 15.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=15): time 0.0007856/0.5086, allocations: 281.2 kB / 1.481 GB, free: 14.99 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5086, allocations: 51.41 kB / 1.481 GB, free: 14.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.509, allocations: 324.4 kB / 1.481 GB, free: 14.6 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.509, allocations: 29.7 kB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5092, allocations: 172.4 kB / 1.481 GB, free: 14.39 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.5093, allocations: 67.45 kB / 1.482 GB, free: 14.33 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.5093, allocations: 37.72 kB / 1.482 GB, free: 14.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5095, allocations: 342.8 kB / 1.482 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5097, allocations: 63.95 kB / 1.482 GB, free: 13.88 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.5099, allocations: 125 kB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.5103, allocations: 185 kB / 1.482 GB, free: 13.54 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5103, allocations: 7.938 kB / 1.482 GB, free: 13.53 MB / 1.186 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004802/0.5107, allocations: 249.2 kB / 1.482 GB, free: 13.28 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5108, allocations: 6.656 kB / 1.482 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.5108, allocations: 7.938 kB / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5108, allocations: 0 / 1.482 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.511, allocations: 35.98 kB / 1.483 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.511, allocations: 7.984 kB / 1.483 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.5112, allocations: 35.88 kB / 1.483 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.5112, allocations: 11.97 kB / 1.483 GB, free: 13.18 MB / 1.186 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.0001548/0.5114, allocations: 161.6 kB / 1.483 GB, free: 13.01 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.5114, allocations: 27.81 kB / 1.483 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.5119, allocations: 223 kB / 1.483 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5119, allocations: 3.984 kB / 1.483 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5119, allocations: 4 kB / 1.483 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5119, allocations: 0 / 1.483 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.513, allocations: 0.6591 MB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.513, allocations: 0 / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.5131, allocations: 31.92 kB / 1.484 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.5132, allocations: 7.938 kB / 1.484 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5132, allocations: 11.98 kB / 1.484 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5132, allocations: 4 kB / 1.484 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5132, allocations: 0 / 1.484 GB, free: 11.97 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006747/0.5139, allocations: 429.4 kB / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.514, allocations: 51.75 kB / 1.484 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.514, allocations: 7.938 kB / 1.484 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.5142, allocations: 11.98 kB / 1.484 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5142, allocations: 7.984 kB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.5143, allocations: 12 kB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002346/0.5145, allocations: 227 kB / 1.484 GB, free: 11.2 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5145, allocations: 4.062 kB / 1.484 GB, free: 11.2 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003931/0.5149, allocations: 83.83 kB / 1.484 GB, free: 11.11 MB / 1.186 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.0004222/0.5153, allocations: 167.1 kB / 1.485 GB, free: 10.95 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.5157, allocations: 163.8 kB / 1.485 GB, free: 10.79 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5157, allocations: 4 kB / 1.485 GB, free: 10.78 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.5159, allocations: 83.81 kB / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.5168, allocations: 174.9 kB / 1.485 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5178, allocations: 0.6056 MB / 1.486 GB, free: 9.887 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.5183, allocations: 0.7756 MB / 1.486 GB, free: 9.086 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.5185, allocations: 74.86 kB / 1.486 GB, free: 9.008 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.5185, allocations: 23.44 kB / 1.486 GB, free: 8.984 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/0.5185, allocations: 4 kB / 1.486 GB, free: 8.98 MB / 1.186 GB Notification: Performance of Templates: time 0.01158/0.5301, allocations: 5.902 MB / 1.492 GB, free: 3.172 MB / 1.186 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: 8.303064128383994]