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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001714/0.001714, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.002015/0.002015, allocations: 187 kB / 17.34 MB, free: 5.719 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 60.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7745, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1735/0.948, allocations: 167.4 MB / 1.331 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.9507, allocations: 1.551 MB / 1.332 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.951, allocations: 11.94 kB / 1.332 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004931/0.9515, allocations: 146.9 kB / 1.332 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.9533, allocations: 0.7468 MB / 1.333 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.9548, allocations: 0.6024 MB / 1.334 GB, free: 8.777 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.9556, allocations: 0.7012 MB / 1.334 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.956, allocations: 236.8 kB / 1.335 GB, free: 7.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000554/0.9565, allocations: 346.7 kB / 1.335 GB, free: 7.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.9568, allocations: 219.1 kB / 1.335 GB, free: 7.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.9569, allocations: 24 kB / 1.335 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.9582, allocations: 0.8689 MB / 1.336 GB, free: 6.391 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.9583, allocations: 103.7 kB / 1.336 GB, free: 6.289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.9585, allocations: 175.2 kB / 1.336 GB, free: 6.117 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009305/0.9594, allocations: 0.7187 MB / 1.337 GB, free: 5.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9594, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9594, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.9595, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.061 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.0008932/0.9604, allocations: 0.6426 MB / 1.338 GB, free: 4.707 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.9604, allocations: 12.03 kB / 1.338 GB, free: 4.695 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.9615, allocations: 159.4 kB / 1.338 GB, free: 4.539 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.962, allocations: 321.6 kB / 1.338 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.9621, allocations: 16.44 kB / 1.338 GB, free: 4.168 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.9621, allocations: 24 kB / 1.338 GB, free: 4.145 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.9626, allocations: 283.3 kB / 1.338 GB, free: 3.852 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.9626, allocations: 3.984 kB / 1.338 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.9626, allocations: 8 kB / 1.338 GB, free: 3.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.9626, allocations: 8 kB / 1.338 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.963, allocations: 199.8 kB / 1.339 GB, free: 3.637 MB / 1.061 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.001353/0.9644, allocations: 1.205 MB / 1.34 GB, free: 2.328 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.9647, allocations: 134.5 kB / 1.34 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.9648, allocations: 92.8 kB / 1.34 GB, free: 2.094 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005466/0.9654, allocations: 303.2 kB / 1.34 GB, free: 1.742 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9654, allocations: 38.5 kB / 1.34 GB, free: 1.695 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.9654, allocations: 0 / 1.34 GB, free: 1.695 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.000749/0.9662, allocations: 282.9 kB / 1.341 GB, free: 1.414 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.9662, allocations: 59.28 kB / 1.341 GB, free: 1.344 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.9665, allocations: 316.5 kB / 1.341 GB, free: 1.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.9666, allocations: 25.7 kB / 1.341 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.9667, allocations: 184.1 kB / 1.341 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.9668, allocations: 51.3 kB / 1.341 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.9668, allocations: 45.61 kB / 1.341 GB, free: 0.707 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.967, allocations: 342.8 kB / 1.342 GB, free: 372 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.9671, allocations: 71.94 kB / 1.342 GB, free: 300 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.9673, allocations: 126.2 kB / 1.342 GB, free: 156 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.9677, allocations: 186.5 kB / 1.342 GB, free: 15.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9677, allocations: 0 / 1.342 GB, free: 15.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004366/0.9681, allocations: 238.5 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9682, allocations: 8.094 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.9682, allocations: 4 kB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9682, allocations: 3.984 kB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.9684, allocations: 43.92 kB / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.9684, allocations: 0 / 1.342 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.9686, allocations: 35.67 kB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.9686, allocations: 12 kB / 1.342 GB, free: 15.61 MB / 1.076 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.000138/0.9688, allocations: 149.7 kB / 1.342 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/0.9689, allocations: 39.61 kB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.9693, allocations: 212.3 kB / 1.343 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.9693, allocations: 3.984 kB / 1.343 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9693, allocations: 0 / 1.343 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9693, allocations: 0 / 1.343 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.9703, allocations: 0.6874 MB / 1.343 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9703, allocations: 0 / 1.343 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.9705, allocations: 35.86 kB / 1.343 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9705, allocations: 12.16 kB / 1.343 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9705, allocations: 8 kB / 1.343 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.9706, allocations: 7.984 kB / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9706, allocations: 0 / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006033/0.9712, allocations: 427.2 kB / 1.344 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.9713, allocations: 128.6 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.9713, allocations: 11.88 kB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.9715, allocations: 15.98 kB / 1.344 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.9716, allocations: 12.05 kB / 1.344 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.9716, allocations: 8 kB / 1.344 GB, free: 13.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001951/0.9718, allocations: 227 kB / 1.344 GB, free: 13.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9718, allocations: 0 / 1.344 GB, free: 13.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000393/0.9722, allocations: 79.91 kB / 1.344 GB, free: 13.43 MB / 1.076 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.000393/0.9726, allocations: 175.3 kB / 1.344 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.973, allocations: 177.5 kB / 1.345 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.973, allocations: 0 / 1.345 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.9732, allocations: 92.45 kB / 1.345 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008184/0.974, allocations: 164.8 kB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.9751, allocations: 0.6259 MB / 1.345 GB, free: 12.15 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.9754, allocations: 0.7795 MB / 1.346 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.9754, allocations: 27.44 kB / 1.346 GB, free: 11.32 MB / 1.076 GB Notification: Performance of SimCode: time 2.21e-07/0.9754, allocations: 0 / 1.346 GB, free: 11.32 MB / 1.076 GB Notification: Performance of Templates: time 0.007077/0.9825, allocations: 4.827 MB / 1.351 GB, free: 6.543 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches