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.008394/0.008394, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002002/0.002002, allocations: 194.3 kB / 16.79 MB, free: 6.254 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.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.413/2.413, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 71.84 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6661/0.6677, allocations: 140.3 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1921/0.8598, allocations: 165.1 MB / 1.111 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003302/0.8631, allocations: 1.562 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005276/0.8637, allocations: 11.94 kB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.8643, allocations: 119.2 kB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.8663, allocations: 0.6575 MB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.8681, allocations: 0.5447 MB / 1.114 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.8693, allocations: 0.9819 MB / 1.115 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004631/0.8698, allocations: 193.5 kB / 1.115 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.8706, allocations: 306.7 kB / 1.115 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.8711, allocations: 235.1 kB / 1.115 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.446e-05/0.8712, allocations: 15.94 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.8731, allocations: 1.021 MB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.8733, allocations: 95.7 kB / 1.116 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.8736, allocations: 155.2 kB / 1.117 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009314/0.8745, allocations: 0.499 MB / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8745, allocations: 0 / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8745, allocations: 0 / 1.117 GB, free: 6 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.8746, allocations: 0 / 1.117 GB, free: 6 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.001271/0.8758, allocations: 0.6504 MB / 1.118 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.8759, allocations: 12.03 kB / 1.118 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.8772, allocations: 159.3 kB / 1.118 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.8777, allocations: 301.7 kB / 1.118 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.8777, allocations: 12.44 kB / 1.118 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.8778, allocations: 24 kB / 1.118 GB, free: 4.762 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.8783, allocations: 287.4 kB / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8784, allocations: 0 / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.8784, allocations: 8 kB / 1.118 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.8784, allocations: 4 kB / 1.118 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.8788, allocations: 191.8 kB / 1.119 GB, free: 4.258 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.001593/0.8805, allocations: 1.217 MB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.8808, allocations: 130.5 kB / 1.12 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.881, allocations: 100.8 kB / 1.12 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.8817, allocations: 303.2 kB / 1.12 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.8817, allocations: 34.5 kB / 1.12 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 3.356e-06/0.8817, allocations: 4 kB / 1.12 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0008615/0.8826, allocations: 283.1 kB / 1.121 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.8827, allocations: 51.41 kB / 1.121 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.8831, allocations: 316.5 kB / 1.121 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.8831, allocations: 29.7 kB / 1.121 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.8833, allocations: 184.2 kB / 1.121 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.8834, allocations: 55.19 kB / 1.121 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.8835, allocations: 45.7 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8837, allocations: 338.8 kB / 1.122 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8838, allocations: 67.95 kB / 1.122 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.8841, allocations: 126.3 kB / 1.122 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.8844, allocations: 190.2 kB / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.8845, allocations: 0 / 1.122 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005107/0.885, allocations: 246.4 kB / 1.122 GB, free: 328 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.885, allocations: 8 kB / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.885, allocations: 0 / 1.122 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.885, allocations: 4 kB / 1.122 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.8853, allocations: 43.92 kB / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.8853, allocations: 7.922 kB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.8856, allocations: 39.86 kB / 1.122 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.8856, allocations: 4 kB / 1.122 GB, free: 220 kB / 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.0001775/0.8858, allocations: 149.8 kB / 1.122 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.8858, allocations: 31.56 kB / 1.122 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.8864, allocations: 220.4 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.8864, allocations: 0 / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8864, allocations: 4 kB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8864, allocations: 0 / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.8875, allocations: 0.6834 MB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.8876, allocations: 0 / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.8877, allocations: 31.92 kB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.8877, allocations: 7.938 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.8878, allocations: 12 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8878, allocations: 80 / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.8878, allocations: 7.984 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.8885, allocations: 438.3 kB / 1.124 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.8886, allocations: 120.7 kB / 1.124 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.8887, allocations: 7.938 kB / 1.124 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.8889, allocations: 19.89 kB / 1.124 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.889, allocations: 15.92 kB / 1.124 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.889, allocations: 12.06 kB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002373/0.8892, allocations: 227 kB / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.443e-06/0.8892, allocations: 0 / 1.124 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004292/0.8897, allocations: 75.94 kB / 1.124 GB, free: 14.03 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.0004416/0.8901, allocations: 169.8 kB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.8906, allocations: 167.8 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8906, allocations: 4 kB / 1.125 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.8908, allocations: 91.81 kB / 1.125 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009172/0.8917, allocations: 161.4 kB / 1.125 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.8929, allocations: 0.722 MB / 1.126 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.8933, allocations: 0.7758 MB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.8934, allocations: 23.44 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.8934, allocations: 0 / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of Templates: time 0.009025/0.9024, allocations: 4.803 MB / 1.131 GB, free: 7.094 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/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