Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001005/0.001005, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001296/0.001296, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.81/2.81, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6009, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1537/0.7546, allocations: 152 MB / 1.171 GB, free: 7.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.757, allocations: 1.478 MB / 1.172 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.7573, allocations: 11.94 kB / 1.172 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.7577, allocations: 107.2 kB / 1.172 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.759, allocations: 0.5054 MB / 1.173 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.7602, allocations: 450.5 kB / 1.173 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008966/0.7611, allocations: 0.826 MB / 1.174 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003351/0.7614, allocations: 181.2 kB / 1.174 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.762, allocations: 302.8 kB / 1.175 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.7623, allocations: 219.1 kB / 1.175 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.7624, allocations: 16 kB / 1.175 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.7634, allocations: 466.9 kB / 1.175 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.7635, allocations: 91.7 kB / 1.175 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.7636, allocations: 89.52 kB / 1.175 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.7641, allocations: 435 kB / 1.176 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7642, allocations: 0 / 1.176 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7642, allocations: 0 / 1.176 GB, free: 2.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7642, allocations: 0 / 1.176 GB, free: 2.422 MB / 0.92 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.000841/0.765, allocations: 0.5962 MB / 1.176 GB, free: 1.777 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.7651, allocations: 12.02 kB / 1.176 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.7662, allocations: 151.4 kB / 1.177 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.7666, allocations: 317.7 kB / 1.177 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.7666, allocations: 16.44 kB / 1.177 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.7667, allocations: 20 kB / 1.177 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.7671, allocations: 279.5 kB / 1.177 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7671, allocations: 0 / 1.177 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.7672, allocations: 12 kB / 1.177 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.7672, allocations: 4 kB / 1.177 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.7676, allocations: 211.7 kB / 1.177 GB, free: 0.7148 MB / 0.92 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.00132/0.7689, allocations: 1.217 MB / 1.179 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.7692, allocations: 146.4 kB / 1.179 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.7694, allocations: 92.77 kB / 1.179 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.7699, allocations: 323.2 kB / 1.179 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.77, allocations: 34.56 kB / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.77, allocations: 0 / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007136/0.7707, allocations: 295.5 kB / 1.179 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.7708, allocations: 59.34 kB / 1.18 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.7711, allocations: 308.5 kB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.7711, allocations: 29.7 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.7712, allocations: 184.1 kB / 1.18 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.7713, allocations: 59.19 kB / 1.18 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7713, allocations: 0 / 1.18 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7714, allocations: 342.8 kB / 1.18 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.7716, allocations: 75.89 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.7718, allocations: 125.6 kB / 1.181 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.772, allocations: 79.97 kB / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.772, allocations: 0 / 1.181 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004501/0.7724, allocations: 255.1 kB / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7725, allocations: 5.719 kB / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7725, allocations: 0 / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7725, allocations: 7.984 kB / 1.181 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.7727, allocations: 47.92 kB / 1.181 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7727, allocations: 4.094 kB / 1.181 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.7729, allocations: 39.67 kB / 1.181 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.773, allocations: 8 kB / 1.181 GB, free: 12.78 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.7731, allocations: 149.8 kB / 1.181 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.7732, allocations: 39.52 kB / 1.181 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.7736, allocations: 228.3 kB / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7736, allocations: 4 kB / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7736, allocations: 0 / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7736, allocations: 0 / 1.181 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/0.7746, allocations: 0.699 MB / 1.182 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.7746, allocations: 0 / 1.182 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.7748, allocations: 43.91 kB / 1.182 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7748, allocations: 4 kB / 1.182 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.7748, allocations: 0 / 1.182 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7748, allocations: 8 kB / 1.182 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7749, allocations: 4 kB / 1.182 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.7755, allocations: 449.2 kB / 1.183 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.7756, allocations: 120.7 kB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.7756, allocations: 4 kB / 1.183 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.7758, allocations: 24.05 kB / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.7759, allocations: 15.98 kB / 1.183 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.7759, allocations: 7.953 kB / 1.183 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7761, allocations: 223 kB / 1.183 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7761, allocations: 0 / 1.183 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003792/0.7765, allocations: 75.91 kB / 1.183 GB, free: 10.57 MB / 0.9356 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 (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.0003564/0.7769, allocations: 185 kB / 1.183 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004088/0.7773, allocations: 184 kB / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.7773, allocations: 0 / 1.183 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.7775, allocations: 91.83 kB / 1.183 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.7783, allocations: 153.4 kB / 1.184 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009433/0.7793, allocations: 0.709 MB / 1.184 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.7796, allocations: 0.7797 MB / 1.185 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.7798, allocations: 58.94 kB / 1.185 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.7799, allocations: 27.44 kB / 1.185 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.7799, allocations: 0 / 1.185 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.00987/0.7898, allocations: 5.263 MB / 1.19 GB, free: 3.145 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches