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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00158/0.00158, allocations: 106 kB / 16.27 MB, free: 5.969 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.001864/0.001864, allocations: 191.4 kB / 17.2 MB, free: 5.594 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.2 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002449, allocations: 63.53 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2559, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7005/0.9565, allocations: 167.4 MB / 1.114 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003256/0.9598, allocations: 1.546 MB / 1.115 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.9602, allocations: 18.28 kB / 1.115 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.9607, allocations: 148.7 kB / 1.115 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.9627, allocations: 0.7058 MB / 1.116 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.9645, allocations: 0.5993 MB / 1.117 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009415/0.9654, allocations: 0.6983 MB / 1.117 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.9658, allocations: 231.3 kB / 1.118 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.9665, allocations: 334.7 kB / 1.118 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.9668, allocations: 227.5 kB / 1.118 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.9668, allocations: 22.16 kB / 1.118 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.9686, allocations: 0.8635 MB / 1.119 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.9688, allocations: 107.2 kB / 1.119 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.969, allocations: 164.9 kB / 1.119 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.9704, allocations: 0.712 MB / 1.12 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9704, allocations: 1 kB / 1.12 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.534e-06/0.9705, allocations: 0.7031 kB / 1.12 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.9705, allocations: 0 / 1.12 GB, free: 4.938 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.001195/0.9717, allocations: 0.6493 MB / 1.121 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.9717, allocations: 9.469 kB / 1.121 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.973, allocations: 157.5 kB / 1.121 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.9735, allocations: 303.1 kB / 1.121 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.9735, allocations: 17.84 kB / 1.121 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.9735, allocations: 22.44 kB / 1.121 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.9741, allocations: 284.1 kB / 1.121 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.9741, allocations: 3.938 kB / 1.121 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.9742, allocations: 11.05 kB / 1.121 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.9742, allocations: 7.844 kB / 1.121 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.9747, allocations: 190.5 kB / 1.122 GB, free: 20.11 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.001586/0.9762, allocations: 1.215 MB / 1.123 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.9765, allocations: 139.1 kB / 1.123 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.9767, allocations: 91.94 kB / 1.123 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/0.9774, allocations: 298.2 kB / 1.123 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.9775, allocations: 42.73 kB / 1.123 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.9775, allocations: 5.188 kB / 1.123 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0007836/0.9783, allocations: 273.5 kB / 1.124 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9783, allocations: 53.98 kB / 1.124 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.9787, allocations: 320.8 kB / 1.124 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.9787, allocations: 30.67 kB / 1.124 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.9788, allocations: 182.7 kB / 1.124 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.9789, allocations: 59.89 kB / 1.124 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.979, allocations: 43.59 kB / 1.124 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.9791, allocations: 338.3 kB / 1.124 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.9793, allocations: 63.36 kB / 1.125 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.9795, allocations: 129 kB / 1.125 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.9799, allocations: 182.4 kB / 1.125 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9799, allocations: 2.281 kB / 1.125 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004647/0.9804, allocations: 246.4 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9804, allocations: 5.188 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9804, allocations: 1.406 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.9804, allocations: 5.344 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.9806, allocations: 40.38 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.9806, allocations: 3.25 kB / 1.125 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.9809, allocations: 33 kB / 1.125 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.9809, allocations: 9.047 kB / 1.125 GB, free: 18.02 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.0001508/0.9811, allocations: 152 kB / 1.125 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.9811, allocations: 29.48 kB / 1.125 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.9816, allocations: 221.7 kB / 1.126 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9816, allocations: 5.031 kB / 1.126 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9817, allocations: 4.797 kB / 1.126 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9817, allocations: 1.766 kB / 1.126 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.9827, allocations: 0.6808 MB / 1.126 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.9827, allocations: 1.922 kB / 1.126 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.9829, allocations: 35.45 kB / 1.126 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.9829, allocations: 3.125 kB / 1.126 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.9829, allocations: 7.891 kB / 1.126 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.983, allocations: 3 kB / 1.126 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.983, allocations: 5.359 kB / 1.126 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006642/0.9836, allocations: 435.6 kB / 1.127 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.9838, allocations: 121.5 kB / 1.127 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.9838, allocations: 11.16 kB / 1.127 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.984, allocations: 7.531 kB / 1.127 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.9841, allocations: 17.88 kB / 1.127 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.9841, allocations: 7.125 kB / 1.127 GB, free: 17.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002278/0.9843, allocations: 226.5 kB / 1.127 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9843, allocations: 4.719 kB / 1.127 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004523/0.9848, allocations: 80.11 kB / 1.127 GB, free: 17.05 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.000415/0.9852, allocations: 176.9 kB / 1.127 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.9857, allocations: 181.5 kB / 1.127 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9857, allocations: 0 / 1.127 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.9859, allocations: 87.5 kB / 1.128 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.9868, allocations: 160.2 kB / 1.128 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.9879, allocations: 0.6406 MB / 1.128 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.9883, allocations: 0.7772 MB / 1.129 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.9884, allocations: 29.81 kB / 1.129 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.9884, allocations: 1.312 kB / 1.129 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.007745/0.9961, allocations: 4.807 MB / 1.134 GB, free: 15.4 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 -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