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.001082/0.001082, allocations: 91.84 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.001378/0.001378, 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.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 462.6 MB / 0.736 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8.719 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2642, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1577/0.422, allocations: 152 MB / 1.206 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.4244, allocations: 1.481 MB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.4246, allocations: 11.88 kB / 1.208 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.425, allocations: 103.2 kB / 1.208 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.4262, allocations: 0.5015 MB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.4273, allocations: 457.1 kB / 1.209 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.4282, allocations: 0.8299 MB / 1.21 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.4285, allocations: 177.2 kB / 1.21 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.429, allocations: 298.8 kB / 1.21 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.4293, allocations: 223.1 kB / 1.21 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4293, allocations: 12 kB / 1.21 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000947/0.4303, allocations: 462.9 kB / 1.211 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.4304, allocations: 99.67 kB / 1.211 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.7e-05/0.4305, allocations: 85.52 kB / 1.211 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.431, allocations: 435 kB / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.431, allocations: 0 / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.431, allocations: 0 / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.431, allocations: 0 / 1.211 GB, free: 7.699 MB / 0.9669 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.0007867/0.4318, allocations: 0.5999 MB / 1.212 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.4319, allocations: 12.03 kB / 1.212 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.433, allocations: 159.3 kB / 1.212 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.4334, allocations: 301.8 kB / 1.213 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4334, allocations: 16.44 kB / 1.213 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.4334, allocations: 24 kB / 1.213 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4339, allocations: 279.5 kB / 1.213 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4339, allocations: 0 / 1.213 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.434, allocations: 12 kB / 1.213 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.434, allocations: 4 kB / 1.213 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.4344, allocations: 203.8 kB / 1.213 GB, free: 5.996 MB / 0.9669 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.001319/0.4357, allocations: 1.217 MB / 1.214 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.436, allocations: 154.3 kB / 1.214 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4362, allocations: 92.8 kB / 1.214 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.4368, allocations: 315.2 kB / 1.215 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4368, allocations: 34.56 kB / 1.215 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.4368, allocations: 0 / 1.215 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0007325/0.4375, allocations: 289.3 kB / 1.215 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4376, allocations: 55.34 kB / 1.215 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.4379, allocations: 316.8 kB / 1.215 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4379, allocations: 29.7 kB / 1.215 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4381, allocations: 188 kB / 1.216 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4381, allocations: 47.27 kB / 1.216 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.4381, allocations: 8 kB / 1.216 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4382, allocations: 342.8 kB / 1.216 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.4384, allocations: 67.95 kB / 1.216 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4386, allocations: 128 kB / 1.216 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4388, allocations: 87.95 kB / 1.216 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4388, allocations: 0 / 1.216 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004659/0.4393, allocations: 253.1 kB / 1.217 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4393, allocations: 4 kB / 1.217 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4393, allocations: 4 kB / 1.217 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.4394, allocations: 7.938 kB / 1.217 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4396, allocations: 39.92 kB / 1.217 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.4396, allocations: 7.984 kB / 1.217 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4398, allocations: 43.77 kB / 1.217 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.4398, allocations: 8 kB / 1.217 GB, free: 2.062 MB / 0.9669 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.0001342/0.44, allocations: 149.8 kB / 1.217 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.44, allocations: 31.58 kB / 1.217 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.4405, allocations: 238.2 kB / 1.217 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4405, allocations: 0 / 1.217 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4405, allocations: 0 / 1.217 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4405, allocations: 4 kB / 1.217 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.4415, allocations: 0.6991 MB / 1.218 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4415, allocations: 4 kB / 1.218 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.4417, allocations: 31.92 kB / 1.218 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4417, allocations: 4 kB / 1.218 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4417, allocations: 4 kB / 1.218 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4417, allocations: 4 kB / 1.218 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4417, allocations: 0 / 1.218 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.4424, allocations: 449.2 kB / 1.218 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4425, allocations: 124.7 kB / 1.218 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.4425, allocations: 8 kB / 1.218 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4427, allocations: 16.05 kB / 1.218 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.4428, allocations: 19.94 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4428, allocations: 4.141 kB / 1.218 GB, free: 152 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002188/0.443, allocations: 227 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.443, allocations: 0 / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003973/0.4434, allocations: 79.84 kB / 1.219 GB, free: 15.85 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 (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.0003515/0.4438, allocations: 175.2 kB / 1.219 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.4442, allocations: 179.9 kB / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4442, allocations: 0 / 1.219 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.4444, allocations: 87.83 kB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.4453, allocations: 164.4 kB / 1.219 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.4463, allocations: 0.716 MB / 1.22 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.4466, allocations: 0.7758 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.4468, allocations: 62.94 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.4469, allocations: 23.44 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.4469, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.009734/0.4566, allocations: 5.277 MB / 1.226 GB, free: 8.426 MB / 0.9825 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