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.002057/0.002057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00208/0.00208, allocations: 197.3 kB / 16.14 MB, free: 6.711 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.45 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3513, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1841/0.5355, allocations: 165.1 MB / 1.213 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.5386, allocations: 1.557 MB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.539, allocations: 11.94 kB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005704/0.5396, allocations: 119.2 kB / 1.215 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.5414, allocations: 0.6613 MB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.5429, allocations: 0.5563 MB / 1.216 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.5439, allocations: 0.9703 MB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.5443, allocations: 201.2 kB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.5449, allocations: 302.8 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.5453, allocations: 235 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.5454, allocations: 20 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.5471, allocations: 1.013 MB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.5473, allocations: 95.7 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.5475, allocations: 159.1 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.5488, allocations: 0.7596 MB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5488, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5488, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5488, allocations: 4 kB / 1.22 GB, free: 12.47 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.001006/0.5498, allocations: 0.6582 MB / 1.22 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5499, allocations: 8.031 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5511, allocations: 155.4 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.5515, allocations: 297.7 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5516, allocations: 20.44 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.5516, allocations: 24 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.5521, allocations: 279.4 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5521, allocations: 4 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.5522, allocations: 8 kB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5522, allocations: 11.94 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.5526, allocations: 187.8 kB / 1.221 GB, free: 10.72 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.001573/0.5542, allocations: 1.221 MB / 1.223 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.5545, allocations: 130.5 kB / 1.223 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.5547, allocations: 92.8 kB / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/0.5554, allocations: 303.2 kB / 1.223 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5554, allocations: 42.5 kB / 1.223 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 3.316e-06/0.5555, allocations: 0 / 1.223 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0008041/0.5563, allocations: 285.3 kB / 1.223 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.5563, allocations: 55.41 kB / 1.223 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.5567, allocations: 316.5 kB / 1.224 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.822e-05/0.5568, allocations: 25.7 kB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.5569, allocations: 176.2 kB / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.557, allocations: 55.25 kB / 1.224 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.5571, allocations: 45.7 kB / 1.224 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5573, allocations: 338.8 kB / 1.224 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.5574, allocations: 63.95 kB / 1.224 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.5577, allocations: 122.5 kB / 1.225 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.5581, allocations: 196.4 kB / 1.225 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5581, allocations: 0 / 1.225 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000476/0.5586, allocations: 245.1 kB / 1.225 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5586, allocations: 4 kB / 1.225 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5586, allocations: 4 kB / 1.225 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5586, allocations: 0 / 1.225 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.5588, allocations: 35.98 kB / 1.225 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5589, allocations: 11.92 kB / 1.225 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.5591, allocations: 39.77 kB / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.5592, allocations: 8 kB / 1.225 GB, free: 6.688 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.0001506/0.5593, allocations: 155.3 kB / 1.225 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.5594, allocations: 23.86 kB / 1.225 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.5599, allocations: 228.2 kB / 1.225 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5599, allocations: 4 kB / 1.225 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5599, allocations: 0 / 1.225 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.5599, allocations: 4 kB / 1.225 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.5612, allocations: 0.6874 MB / 1.226 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.5612, allocations: 4 kB / 1.226 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.5614, allocations: 31.92 kB / 1.226 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.5614, allocations: 7.938 kB / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5614, allocations: 0 / 1.226 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.5614, allocations: 4 kB / 1.226 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5615, allocations: 4 kB / 1.226 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.5622, allocations: 443.5 kB / 1.227 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.5623, allocations: 128.6 kB / 1.227 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.5624, allocations: 11.94 kB / 1.227 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.5626, allocations: 11.98 kB / 1.227 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.5626, allocations: 19.92 kB / 1.227 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.5627, allocations: 4 kB / 1.227 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002375/0.5629, allocations: 231.1 kB / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5629, allocations: 0 / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004277/0.5633, allocations: 75.94 kB / 1.227 GB, free: 4.492 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.0004547/0.5638, allocations: 151 kB / 1.227 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.5643, allocations: 175.8 kB / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5643, allocations: 0 / 1.227 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.5645, allocations: 83.83 kB / 1.227 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.5654, allocations: 165.6 kB / 1.228 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.5664, allocations: 0.6928 MB / 1.228 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.5667, allocations: 0.7719 MB / 1.229 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.567, allocations: 66.88 kB / 1.229 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.567, allocations: 27.38 kB / 1.229 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.5671, allocations: 0 / 1.229 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of Templates: time 0.01094/0.578, allocations: 5.462 MB / 1.235 GB, free: 12.91 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