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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.404/2.404, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8783/0.8795, allocations: 140.3 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2336/1.113, allocations: 167.4 MB / 1.113 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002773/1.116, allocations: 1.564 MB / 1.115 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/1.116, allocations: 11.94 kB / 1.115 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/1.117, allocations: 150.9 kB / 1.115 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001831/1.119, allocations: 0.7 MB / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/1.12, allocations: 0.5959 MB / 1.116 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009301/1.121, allocations: 0.6974 MB / 1.117 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/1.122, allocations: 233 kB / 1.117 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/1.123, allocations: 338.7 kB / 1.117 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/1.123, allocations: 223.1 kB / 1.117 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/1.123, allocations: 24 kB / 1.117 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/1.125, allocations: 0.8572 MB / 1.118 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/1.125, allocations: 111.7 kB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/1.125, allocations: 159.2 kB / 1.119 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/1.126, allocations: 0.7168 MB / 1.119 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/1.126, allocations: 3.938 kB / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/1.126, allocations: 0 / 1.119 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.126, allocations: 4 kB / 1.119 GB, free: 3.551 MB / 0.8731 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/1.127, allocations: 0.6388 MB / 1.12 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.127, allocations: 12.03 kB / 1.12 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/1.129, allocations: 155.4 kB / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/1.129, allocations: 313.6 kB / 1.12 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.129, allocations: 12.44 kB / 1.12 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/1.129, allocations: 28 kB / 1.12 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/1.13, allocations: 279.4 kB / 1.121 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.13, allocations: 0 / 1.121 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/1.13, allocations: 8 kB / 1.121 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.13, allocations: 4 kB / 1.121 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/1.13, allocations: 199.8 kB / 1.121 GB, free: 1.809 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.001504/1.132, allocations: 1.217 MB / 1.122 GB, free: 500 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/1.132, allocations: 138.5 kB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/1.132, allocations: 92.73 kB / 1.122 GB, free: 256 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/1.133, allocations: 299.2 kB / 1.123 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/1.133, allocations: 38.5 kB / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/1.133, allocations: 0 / 1.123 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0008295/1.134, allocations: 279.9 kB / 1.123 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.134, allocations: 51.41 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/1.134, allocations: 320.5 kB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/1.134, allocations: 29.7 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/1.134, allocations: 180.2 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.134, allocations: 51.2 kB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.142e-05/1.135, allocations: 45.7 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000287/1.135, allocations: 342.8 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/1.135, allocations: 71.88 kB / 1.124 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/1.135, allocations: 126 kB / 1.124 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/1.136, allocations: 190.4 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.136, allocations: 0 / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000605/1.136, allocations: 233.7 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.136, allocations: 4 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.136, allocations: 4 kB / 1.124 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.136, allocations: 3.984 kB / 1.124 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/1.137, allocations: 48.02 kB / 1.124 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.137, allocations: 4 kB / 1.124 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/1.137, allocations: 31.77 kB / 1.124 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.137, allocations: 4 kB / 1.124 GB, free: 13.79 MB / 0.8887 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.0001573/1.137, allocations: 153.7 kB / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/1.137, allocations: 31.61 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/1.138, allocations: 224.4 kB / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.138, allocations: 0 / 1.125 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.138, allocations: 7.922 kB / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.138, allocations: 0 / 1.125 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.139, allocations: 0.6873 MB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.139, allocations: 0 / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/1.139, allocations: 31.98 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/1.139, allocations: 7.938 kB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.139, allocations: 4 kB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.139, allocations: 7.922 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.139, allocations: 4.219 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/1.14, allocations: 433 kB / 1.126 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.14, allocations: 120.7 kB / 1.126 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/1.14, allocations: 7.938 kB / 1.126 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.14, allocations: 15.98 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/1.14, allocations: 11.98 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.14, allocations: 12.06 kB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002193/1.14, allocations: 223 kB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 4 kB / 1.126 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003999/1.141, allocations: 75.91 kB / 1.126 GB, free: 11.61 MB / 0.8887 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.0003962/1.141, allocations: 184.8 kB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004557/1.142, allocations: 181.9 kB / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.142, allocations: 0 / 1.127 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.142, allocations: 91.81 kB / 1.127 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/1.143, allocations: 165 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/1.144, allocations: 0.5996 MB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/1.144, allocations: 0.7832 MB / 1.128 GB, free: 9.547 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002277/1.145, allocations: 67.09 kB / 1.128 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/1.145, allocations: 31.42 kB / 1.128 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of SimCode: time 7.91e-07/1.145, allocations: 7.938 kB / 1.129 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of Templates: time 0.01184/1.157, allocations: 5.721 MB / 1.134 GB, free: 3.824 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches