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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001098/0.001098, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008689/0.008689, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.893/2.893, allocations: 462.6 MB / 0.7364 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003327, allocations: 14.83 kB / 0.9027 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 159.6 MB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1726/0.5393, allocations: 163 MB / 1.218 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.542, allocations: 1.539 MB / 1.219 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.5423, allocations: 7.938 kB / 1.219 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.5428, allocations: 123.2 kB / 1.219 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.5446, allocations: 0.6613 MB / 1.22 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.5461, allocations: 0.5482 MB / 1.221 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.5472, allocations: 0.9703 MB / 1.222 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.5476, allocations: 189.3 kB / 1.222 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006302/0.5482, allocations: 306.7 kB / 1.222 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.5485, allocations: 235 kB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.5486, allocations: 12 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.5504, allocations: 1.009 MB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.5505, allocations: 99.69 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.5507, allocations: 180.9 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.552, allocations: 0.7595 MB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5521, allocations: 0 / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.707e-06/0.5521, allocations: 0 / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5521, allocations: 0 / 1.224 GB, free: 10.8 MB / 0.9825 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.001027/0.5531, allocations: 0.6038 MB / 1.225 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5532, allocations: 8.031 kB / 1.225 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.5544, allocations: 151.4 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.5549, allocations: 309.6 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.5549, allocations: 24.44 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.555, allocations: 27.94 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.5555, allocations: 279.4 kB / 1.226 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5555, allocations: 0 / 1.226 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.5556, allocations: 12 kB / 1.226 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5556, allocations: 8 kB / 1.226 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004347/0.556, allocations: 203.8 kB / 1.226 GB, free: 9.082 MB / 0.9825 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.001518/0.5575, allocations: 1.221 MB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.5579, allocations: 138.5 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.5581, allocations: 100.8 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/0.5588, allocations: 315.2 kB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5588, allocations: 34.5 kB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.5588, allocations: 0 / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0007919/0.5596, allocations: 292 kB / 1.228 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.5597, allocations: 55.41 kB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.56, allocations: 324.4 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.56, allocations: 25.7 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5601, allocations: 184.2 kB / 1.228 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.5602, allocations: 51.27 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.5602, allocations: 21.7 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5604, allocations: 338.8 kB / 1.229 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.5606, allocations: 75.89 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.5608, allocations: 129.6 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.5612, allocations: 212.3 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.5613, allocations: 0 / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005081/0.5618, allocations: 249.2 kB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5618, allocations: 9.719 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5618, allocations: 0 / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5619, allocations: 4 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.5621, allocations: 43.97 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5621, allocations: 4 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5624, allocations: 39.73 kB / 1.23 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.5624, allocations: 16 kB / 1.23 GB, free: 4.984 MB / 0.9825 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.0001574/0.5626, allocations: 149.7 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.5626, allocations: 31.62 kB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.5631, allocations: 232.3 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5631, allocations: 4 kB / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5632, allocations: 0 / 1.23 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5632, allocations: 3.984 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5643, allocations: 0.6914 MB / 1.231 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5643, allocations: 4.031 kB / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.5645, allocations: 35.92 kB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5645, allocations: 7.938 kB / 1.231 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.5645, allocations: 11.94 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5645, allocations: 3.984 kB / 1.231 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5646, allocations: 4 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.5653, allocations: 444.9 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5654, allocations: 120.8 kB / 1.231 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.5655, allocations: 7.938 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5657, allocations: 20.05 kB / 1.231 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5658, allocations: 11.98 kB / 1.231 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.5658, allocations: 8 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002186/0.566, allocations: 231 kB / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.566, allocations: 0 / 1.231 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004303/0.5665, allocations: 79.84 kB / 1.232 GB, free: 2.762 MB / 0.9825 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.0004079/0.5669, allocations: 174.2 kB / 1.232 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.5673, allocations: 177.5 kB / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5673, allocations: 0 / 1.232 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.5676, allocations: 95.81 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5687, allocations: 167 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5698, allocations: 0.7217 MB / 1.233 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5702, allocations: 0.7797 MB / 1.234 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000252/0.5704, allocations: 66.92 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.5705, allocations: 27.44 kB / 1.234 GB, free: 500 kB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.5705, allocations: 0 / 1.234 GB, free: 500 kB / 0.9825 GB Notification: Performance of Templates: time 0.01124/0.5817, allocations: 5.441 MB / 1.239 GB, free: 11.15 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches