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.001875/0.001875, allocations: 112.8 kB / 17.08 MB, free: 6.004 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.002023/0.002023, allocations: 193.2 kB / 20.03 MB, free: 3.074 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.42/1.42, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001893/0.001893, allocations: 71.89 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.9113, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2114/1.123, allocations: 167.4 MB / 1.426 GB, free: 11.18 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003234/1.126, allocations: 1.554 MB / 1.428 GB, free: 9.914 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/1.126, allocations: 15.28 kB / 1.428 GB, free: 9.906 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005125/1.127, allocations: 143 kB / 1.428 GB, free: 9.781 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/1.129, allocations: 0.7036 MB / 1.428 GB, free: 9.246 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/1.13, allocations: 0.6081 MB / 1.429 GB, free: 8.801 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001031/1.131, allocations: 0.7007 MB / 1.43 GB, free: 8.391 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/1.132, allocations: 228.8 kB / 1.43 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/1.133, allocations: 480.2 kB / 1.43 GB, free: 7.973 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/1.133, allocations: 225.3 kB / 1.431 GB, free: 7.836 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/1.133, allocations: 22.5 kB / 1.431 GB, free: 7.836 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/1.135, allocations: 0.8578 MB / 1.431 GB, free: 7.352 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/1.135, allocations: 110.2 kB / 1.432 GB, free: 7.277 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/1.136, allocations: 161.4 kB / 1.432 GB, free: 7.18 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/1.137, allocations: 0.7227 MB / 1.432 GB, free: 6.754 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/1.137, allocations: 0 / 1.432 GB, free: 6.754 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.914e-06/1.137, allocations: 0 / 1.432 GB, free: 6.754 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.137, allocations: 0 / 1.432 GB, free: 6.754 MB / 1.123 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.001047/1.138, allocations: 0.6672 MB / 1.433 GB, free: 6.156 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.138, allocations: 13.66 kB / 1.433 GB, free: 6.152 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.139, allocations: 148.2 kB / 1.433 GB, free: 6.086 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/1.14, allocations: 321.5 kB / 1.434 GB, free: 5.785 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.14, allocations: 17.78 kB / 1.434 GB, free: 5.777 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/1.14, allocations: 23.03 kB / 1.434 GB, free: 5.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/1.14, allocations: 279.5 kB / 1.434 GB, free: 5.578 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.14, allocations: 0 / 1.434 GB, free: 5.578 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.14, allocations: 10.64 kB / 1.434 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.14, allocations: 5.406 kB / 1.434 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/1.141, allocations: 197 kB / 1.434 GB, free: 5.48 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/1.142, allocations: 1.207 MB / 1.435 GB, free: 4.363 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/1.143, allocations: 139.4 kB / 1.435 GB, free: 4.281 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.143, allocations: 84.16 kB / 1.435 GB, free: 4.242 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/1.143, allocations: 310.1 kB / 1.436 GB, free: 3.926 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/1.143, allocations: 43.94 kB / 1.436 GB, free: 3.875 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/1.143, allocations: 0 / 1.436 GB, free: 3.875 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0008048/1.144, allocations: 280.5 kB / 1.436 GB, free: 3.73 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.144, allocations: 53.66 kB / 1.436 GB, free: 3.668 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/1.145, allocations: 319.9 kB / 1.436 GB, free: 3.461 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.145, allocations: 30.8 kB / 1.436 GB, free: 3.426 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/1.145, allocations: 180.9 kB / 1.437 GB, free: 3.262 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/1.145, allocations: 50.12 kB / 1.437 GB, free: 3.219 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/1.145, allocations: 50.77 kB / 1.437 GB, free: 3.18 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.145, allocations: 337.3 kB / 1.437 GB, free: 2.848 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/1.145, allocations: 63.67 kB / 1.437 GB, free: 2.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.145, allocations: 129.2 kB / 1.437 GB, free: 2.723 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/1.146, allocations: 196.4 kB / 1.437 GB, free: 2.59 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.146, allocations: 0 / 1.437 GB, free: 2.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004789/1.146, allocations: 242.3 kB / 1.438 GB, free: 2.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.146, allocations: 5.5 kB / 1.438 GB, free: 2.457 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.146, allocations: 6.062 kB / 1.438 GB, free: 2.453 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.146, allocations: 6.156 kB / 1.438 GB, free: 2.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/1.147, allocations: 39.81 kB / 1.438 GB, free: 2.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.147, allocations: 7.25 kB / 1.438 GB, free: 2.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/1.147, allocations: 29.41 kB / 1.438 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/1.147, allocations: 11.55 kB / 1.438 GB, free: 2.414 MB / 1.123 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.0001522/1.147, allocations: 152.4 kB / 1.438 GB, free: 2.273 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/1.147, allocations: 29.81 kB / 1.438 GB, free: 2.258 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/1.148, allocations: 223.5 kB / 1.438 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.148, allocations: 1.062 kB / 1.438 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.148, allocations: 0 / 1.438 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.148, allocations: 1.156 kB / 1.438 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.149, allocations: 0.6807 MB / 1.439 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.149, allocations: 1.312 kB / 1.439 GB, free: 1.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/1.149, allocations: 44.66 kB / 1.439 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.149, allocations: 6.281 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.149, allocations: 3.469 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.149, allocations: 3.562 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.149, allocations: 2.375 kB / 1.439 GB, free: 1.52 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/1.15, allocations: 435.6 kB / 1.439 GB, free: 1.191 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.15, allocations: 124 kB / 1.439 GB, free: 1.066 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/1.15, allocations: 22.73 kB / 1.439 GB, free: 1.047 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.15, allocations: 5.5 kB / 1.439 GB, free: 1.047 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/1.15, allocations: 18.8 kB / 1.439 GB, free: 1.035 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.15, allocations: 5.5 kB / 1.439 GB, free: 1.035 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002306/1.15, allocations: 226.7 kB / 1.44 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.15, allocations: 0 / 1.44 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003971/1.151, allocations: 77.89 kB / 1.44 GB, free: 0.875 MB / 1.123 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.0004241/1.151, allocations: 166.7 kB / 1.44 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004474/1.152, allocations: 180 kB / 1.44 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/1.152, allocations: 4.125 kB / 1.44 GB, free: 0.668 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/1.152, allocations: 88.03 kB / 1.44 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/1.153, allocations: 162.2 kB / 1.44 GB, free: 0.543 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.154, allocations: 0.6376 MB / 1.441 GB, free: 52 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/1.154, allocations: 0.7743 MB / 1.442 GB, free: 15.31 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/1.154, allocations: 26.78 kB / 1.442 GB, free: 15.3 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/1.154, allocations: 0 / 1.442 GB, free: 15.3 MB / 1.139 GB Notification: Performance of Templates: time 0.008211/1.162, allocations: 4.845 MB / 1.446 GB, free: 11.35 MB / 1.139 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.242206316906959]