Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001264/0.001264, allocations: 117.1 kB / 16.37 MB, free: 6.012 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: 190.9 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 65.23 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.704/0.958, allocations: 167.4 MB / 1.115 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00299/0.961, allocations: 1.553 MB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/0.9615, allocations: 15.12 kB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.962, allocations: 144.8 kB / 1.116 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/0.9638, allocations: 0.706 MB / 1.117 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.9655, allocations: 0.5983 MB / 1.118 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008927/0.9664, allocations: 0.7062 MB / 1.118 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.9668, allocations: 233.7 kB / 1.118 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.9674, allocations: 332.6 kB / 1.119 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.9677, allocations: 225.1 kB / 1.119 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.9678, allocations: 22.91 kB / 1.119 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.9695, allocations: 0.8655 MB / 1.12 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.9696, allocations: 110.9 kB / 1.12 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.9698, allocations: 162.8 kB / 1.12 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.9711, allocations: 0.7178 MB / 1.121 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9712, allocations: 0.75 kB / 1.121 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9712, allocations: 0 / 1.121 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.9712, allocations: 0 / 1.121 GB, free: 5.582 MB / 0.8575 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.001148/0.9723, allocations: 0.6478 MB / 1.121 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.9724, allocations: 8.938 kB / 1.121 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.9736, allocations: 160.8 kB / 1.122 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.9742, allocations: 322 kB / 1.122 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.9742, allocations: 16.66 kB / 1.122 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.9742, allocations: 21.94 kB / 1.122 GB, free: 20.85 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.9748, allocations: 279.8 kB / 1.122 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.9748, allocations: 3.938 kB / 1.122 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.9748, allocations: 9.375 kB / 1.122 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.9748, allocations: 6.062 kB / 1.122 GB, free: 20.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/0.9753, allocations: 195.6 kB / 1.122 GB, free: 20.76 MB / 0.8731 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.001409/0.9767, allocations: 1.21 MB / 1.124 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.977, allocations: 141.2 kB / 1.124 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.9771, allocations: 88.81 kB / 1.124 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005801/0.9777, allocations: 302.3 kB / 1.124 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9778, allocations: 44.88 kB / 1.124 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.9778, allocations: 0 / 1.124 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.000823/0.9786, allocations: 278.8 kB / 1.124 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.9786, allocations: 52.91 kB / 1.124 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.979, allocations: 318.5 kB / 1.125 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.979, allocations: 31.08 kB / 1.125 GB, free: 19.31 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9791, allocations: 180.6 kB / 1.125 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.9792, allocations: 53.94 kB / 1.125 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.9793, allocations: 44.48 kB / 1.125 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9794, allocations: 340.3 kB / 1.125 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.9796, allocations: 63.58 kB / 1.125 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.9798, allocations: 129.5 kB / 1.126 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.9801, allocations: 182.5 kB / 1.126 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9801, allocations: 5.312 kB / 1.126 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004548/0.9806, allocations: 238.1 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9806, allocations: 6.141 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.9806, allocations: 1.688 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9807, allocations: 3.016 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.9809, allocations: 42.03 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9809, allocations: 4.875 kB / 1.126 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.9811, allocations: 31.81 kB / 1.126 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.9811, allocations: 12.39 kB / 1.126 GB, free: 18.67 MB / 0.8731 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.0001422/0.9813, allocations: 154.3 kB / 1.126 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.9813, allocations: 29.67 kB / 1.126 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.9818, allocations: 215.1 kB / 1.126 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.9818, allocations: 3.094 kB / 1.126 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.9818, allocations: 4 kB / 1.126 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9819, allocations: 4.469 kB / 1.126 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.9829, allocations: 0.6885 MB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9829, allocations: 1.844 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.9831, allocations: 31.56 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.9831, allocations: 3.578 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.9831, allocations: 11 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9831, allocations: 8.094 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9831, allocations: 2.469 kB / 1.127 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.9837, allocations: 438.8 kB / 1.128 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.9839, allocations: 121.7 kB / 1.128 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.9839, allocations: 13.5 kB / 1.128 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.9841, allocations: 7.359 kB / 1.128 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.9842, allocations: 14.56 kB / 1.128 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.9842, allocations: 5.75 kB / 1.128 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002146/0.9844, allocations: 233 kB / 1.128 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.71e-07/0.9844, allocations: 0 / 1.128 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004474/0.9849, allocations: 80.62 kB / 1.128 GB, free: 17.7 MB / 0.8731 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.0004141/0.9853, allocations: 168 kB / 1.128 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004174/0.9857, allocations: 176.4 kB / 1.128 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9857, allocations: 0 / 1.128 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.9859, allocations: 83.83 kB / 1.128 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.9868, allocations: 178 kB / 1.129 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.9878, allocations: 0.5901 MB / 1.129 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.9883, allocations: 0.7764 MB / 1.13 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.9885, allocations: 64.59 kB / 1.13 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.9886, allocations: 26.44 kB / 1.13 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.443e-06/0.9886, allocations: 0 / 1.13 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.01086/0.9994, allocations: 5.728 MB / 1.136 GB, free: 16.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches