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) 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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001422, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/0.7644, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1749/0.9394, allocations: 167.4 MB / 1.372 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.9422, allocations: 1.547 MB / 1.373 GB, free: 4.039 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.9427, allocations: 11.94 kB / 1.373 GB, free: 4.027 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.9433, allocations: 142.9 kB / 1.374 GB, free: 3.887 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.9452, allocations: 0.7078 MB / 1.374 GB, free: 3.176 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.9469, allocations: 0.5953 MB / 1.375 GB, free: 2.582 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009996/0.9479, allocations: 0.709 MB / 1.376 GB, free: 1.871 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.9484, allocations: 228.9 kB / 1.376 GB, free: 1.645 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007324/0.9491, allocations: 338.7 kB / 1.376 GB, free: 1.312 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.9495, allocations: 223.1 kB / 1.376 GB, free: 1.094 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.9496, allocations: 20 kB / 1.376 GB, free: 1.074 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.9511, allocations: 0.8689 MB / 1.377 GB, free: 208 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.9513, allocations: 107.7 kB / 1.377 GB, free: 100 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.9515, allocations: 159.3 kB / 1.377 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.9529, allocations: 0.7265 MB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.9529, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9529, allocations: 4 kB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.9529, allocations: 0 / 1.378 GB, free: 15.21 MB / 1.107 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.001026/0.9539, allocations: 0.6427 MB / 1.379 GB, free: 14.52 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.954, allocations: 12.03 kB / 1.379 GB, free: 14.51 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.9552, allocations: 151.5 kB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/0.9558, allocations: 325.6 kB / 1.379 GB, free: 14 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.9559, allocations: 16.44 kB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.9559, allocations: 24 kB / 1.379 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.9564, allocations: 279.4 kB / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9565, allocations: 0 / 1.379 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.9565, allocations: 12 kB / 1.38 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.9565, allocations: 4 kB / 1.38 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.9569, allocations: 199.8 kB / 1.38 GB, free: 13.45 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001526/0.9585, allocations: 1.213 MB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.9588, allocations: 130.5 kB / 1.381 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.959, allocations: 103.3 kB / 1.381 GB, free: 11.9 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.9596, allocations: 307.2 kB / 1.381 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.9596, allocations: 34.5 kB / 1.381 GB, free: 11.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.9596, allocations: 0 / 1.381 GB, free: 11.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.0008478/0.9605, allocations: 281.3 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.9605, allocations: 55.41 kB / 1.382 GB, free: 11.15 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.9609, allocations: 320.5 kB / 1.382 GB, free: 10.84 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.9609, allocations: 25.7 kB / 1.382 GB, free: 10.8 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.9611, allocations: 184.1 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.9611, allocations: 51.28 kB / 1.382 GB, free: 10.57 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.9612, allocations: 41.62 kB / 1.382 GB, free: 10.52 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9614, allocations: 342.8 kB / 1.383 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.9615, allocations: 71.95 kB / 1.383 GB, free: 10.11 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.9618, allocations: 117 kB / 1.383 GB, free: 9.973 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.9621, allocations: 196.4 kB / 1.383 GB, free: 9.766 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9622, allocations: 0 / 1.383 GB, free: 9.766 MB / 1.107 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005026/0.9627, allocations: 233.2 kB / 1.383 GB, free: 9.531 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9627, allocations: 8 kB / 1.383 GB, free: 9.523 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.9627, allocations: 0 / 1.383 GB, free: 9.523 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.9627, allocations: 8.094 kB / 1.383 GB, free: 9.516 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.9629, allocations: 39.98 kB / 1.383 GB, free: 9.477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.963, allocations: 3.984 kB / 1.383 GB, free: 9.473 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.9632, allocations: 31.62 kB / 1.383 GB, free: 9.441 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.9632, allocations: 15.98 kB / 1.383 GB, free: 9.426 MB / 1.107 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.0001607/0.9634, allocations: 145.8 kB / 1.384 GB, free: 9.273 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.9635, allocations: 31.62 kB / 1.384 GB, free: 9.242 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.9639, allocations: 220.3 kB / 1.384 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.964, allocations: 0 / 1.384 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.964, allocations: 0 / 1.384 GB, free: 9.023 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.964, allocations: 4 kB / 1.384 GB, free: 9.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.9651, allocations: 0.6875 MB / 1.384 GB, free: 8.254 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.9651, allocations: 0 / 1.384 GB, free: 8.254 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.9653, allocations: 39.91 kB / 1.384 GB, free: 8.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.9653, allocations: 7.922 kB / 1.384 GB, free: 8.207 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.9653, allocations: 12 kB / 1.384 GB, free: 8.195 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.9653, allocations: 8.219 kB / 1.384 GB, free: 8.188 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9653, allocations: 3.938 kB / 1.384 GB, free: 8.184 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.966, allocations: 430.3 kB / 1.385 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.9661, allocations: 124.7 kB / 1.385 GB, free: 7.586 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.9662, allocations: 3.938 kB / 1.385 GB, free: 7.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.9664, allocations: 15.98 kB / 1.385 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.9664, allocations: 12.05 kB / 1.385 GB, free: 7.555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9665, allocations: 15.94 kB / 1.385 GB, free: 7.539 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002285/0.9667, allocations: 223 kB / 1.385 GB, free: 7.32 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9667, allocations: 0 / 1.385 GB, free: 7.32 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004122/0.9671, allocations: 79.91 kB / 1.385 GB, free: 7.242 MB / 1.107 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.0004068/0.9675, allocations: 179.6 kB / 1.386 GB, free: 7.062 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004416/0.968, allocations: 170 kB / 1.386 GB, free: 6.898 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.968, allocations: 0 / 1.386 GB, free: 6.898 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.9682, allocations: 88.45 kB / 1.386 GB, free: 6.812 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/0.9691, allocations: 172.8 kB / 1.386 GB, free: 6.645 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.9702, allocations: 0.6305 MB / 1.387 GB, free: 5.961 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.9706, allocations: 0.7717 MB / 1.387 GB, free: 5.164 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.9707, allocations: 31.44 kB / 1.387 GB, free: 5.133 MB / 1.107 GB Notification: Performance of SimCode: time 4.71e-07/0.9707, allocations: 0 / 1.387 GB, free: 5.133 MB / 1.107 GB Notification: Performance of Templates: time 0.008183/0.9789, allocations: 4.835 MB / 1.392 GB, free: 364 kB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches