Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 387.1 MB / 399.7 MB, free: 9.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 175.7 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.3 MB / 0.7872 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 99.45 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.656e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2582, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.045/5.304, allocations: 1.906 GB / 3.119 GB, free: 353.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/5.304, allocations: 84.69 kB / 3.119 GB, free: 353.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4521/5.756, allocations: 246.8 MB / 3.36 GB, free: 142.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.102e-06/5.756, allocations: 0 / 3.36 GB, free: 142.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.634e-05/5.756, allocations: 4 kB / 3.36 GB, free: 142.7 MB / 1.151 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.001223/5.757, allocations: 0.635 MB / 3.36 GB, free: 142 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/5.757, allocations: 12.03 kB / 3.36 GB, free: 142 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/5.758, allocations: 159.3 kB / 3.36 GB, free: 141.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/5.759, allocations: 309.9 kB / 3.361 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/5.759, allocations: 16.44 kB / 3.361 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/5.759, allocations: 20 kB / 3.361 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/5.76, allocations: 259.5 kB / 3.361 GB, free: 141.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/5.76, allocations: 0 / 3.361 GB, free: 141.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/5.76, allocations: 8 kB / 3.361 GB, free: 141.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/5.76, allocations: 8 kB / 3.361 GB, free: 141.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/5.76, allocations: 163.8 kB / 3.361 GB, free: 141 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/5.761, allocations: 1.217 MB / 3.362 GB, free: 139.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/5.761, allocations: 107.8 kB / 3.362 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/5.761, allocations: 72.83 kB / 3.363 GB, free: 139.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000435/5.762, allocations: 303.2 kB / 3.363 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/5.762, allocations: 30.56 kB / 3.363 GB, free: 139.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/5.762, allocations: 0 / 3.363 GB, free: 139.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0004599/5.762, allocations: 185.4 kB / 3.363 GB, free: 138.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/5.762, allocations: 55.41 kB / 3.363 GB, free: 138.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/5.763, allocations: 274.7 kB / 3.363 GB, free: 138.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/5.763, allocations: 25.7 kB / 3.363 GB, free: 138.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/5.763, allocations: 180.2 kB / 3.364 GB, free: 138.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/5.763, allocations: 51.27 kB / 3.364 GB, free: 138.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/5.763, allocations: 4 kB / 3.364 GB, free: 138.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.918e-05/5.763, allocations: 342.8 kB / 3.364 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/5.763, allocations: 52.36 kB / 3.364 GB, free: 137.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/5.763, allocations: 108.9 kB / 3.364 GB, free: 137.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/5.763, allocations: 67.89 kB / 3.364 GB, free: 137.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/5.763, allocations: 0 / 3.364 GB, free: 137.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002801/5.763, allocations: 209.1 kB / 3.364 GB, free: 137.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/5.764, allocations: 4 kB / 3.364 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/5.764, allocations: 0 / 3.364 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/5.764, allocations: 4 kB / 3.364 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/5.764, allocations: 47.91 kB / 3.364 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/5.764, allocations: 3.984 kB / 3.364 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/5.764, allocations: 39.86 kB / 3.364 GB, free: 137.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/5.764, allocations: 8 kB / 3.364 GB, free: 137.4 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/5.764, allocations: 124.9 kB / 3.365 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/5.764, allocations: 31.62 kB / 3.365 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/5.764, allocations: 181.7 kB / 3.365 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/5.764, allocations: 4 kB / 3.365 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/5.764, allocations: 4 kB / 3.365 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/5.765, allocations: 0 / 3.365 GB, free: 137 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/5.765, allocations: 0.6366 MB / 3.365 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/5.765, allocations: 4 kB / 3.365 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/5.765, allocations: 35.92 kB / 3.365 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/5.765, allocations: 0 / 3.365 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/5.765, allocations: 8 kB / 3.365 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/5.765, allocations: 7.938 kB / 3.365 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.765, allocations: 7.953 kB / 3.365 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/5.766, allocations: 463.5 kB / 3.366 GB, free: 135.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/5.766, allocations: 112.8 kB / 3.366 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/5.766, allocations: 19.88 kB / 3.366 GB, free: 135.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/5.766, allocations: 20.05 kB / 3.366 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.071e-05/5.766, allocations: 19.92 kB / 3.366 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/5.766, allocations: 4 kB / 3.366 GB, free: 135.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001861/5.766, allocations: 218.2 kB / 3.366 GB, free: 135.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.766, allocations: 4 kB / 3.366 GB, free: 135.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000721/5.767, allocations: 171.9 kB / 3.366 GB, free: 135.1 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001616/5.769, allocations: 1.041 MB / 3.367 GB, free: 134.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002463/5.769, allocations: 127.9 kB / 3.368 GB, free: 134 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/5.769, allocations: 192 / 3.368 GB, free: 134 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/5.769, allocations: 71.86 kB / 3.368 GB, free: 133.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/5.77, allocations: 157.6 kB / 3.368 GB, free: 133.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007302/5.771, allocations: 425.5 kB / 3.368 GB, free: 133.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/5.771, allocations: 0.7838 MB / 3.369 GB, free: 132.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002356/5.771, allocations: 66.94 kB / 3.369 GB, free: 132.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/5.771, allocations: 27.38 kB / 3.369 GB, free: 132.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/5.771, allocations: 0 / 3.369 GB, free: 132.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02512/5.796, allocations: 20.69 MB / 3.389 GB, free: 111.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches