Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009016/0.0009016, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9259/0.9259, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.9 MB / 0.6229 GB, free: 8.617 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.9822 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.236e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5462/0.5463, allocations: 147.6 MB / 1.126 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.5481, allocations: 1.49 MB / 1.128 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.5483, allocations: 16.06 kB / 1.128 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000375/0.5486, allocations: 151.5 kB / 1.128 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.5498, allocations: 0.7214 MB / 1.129 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.5509, allocations: 0.6573 MB / 1.129 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.5515, allocations: 0.7006 MB / 1.13 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.5518, allocations: 185.6 kB / 1.13 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.5526, allocations: 0.5907 MB / 1.131 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.5528, allocations: 196.2 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.5529, allocations: 23.25 kB / 1.131 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008825/0.5538, allocations: 0.7166 MB / 1.132 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5539, allocations: 112.3 kB / 1.132 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.554, allocations: 111.3 kB / 1.132 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000832/0.5548, allocations: 0.7338 MB / 1.133 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5548, allocations: 0 / 1.133 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5548, allocations: 4 kB / 1.133 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.5548, allocations: 1.031 kB / 1.133 GB, free: 10.17 MB / 0.9948 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.000668/0.5555, allocations: 0.5785 MB / 1.133 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5555, allocations: 13.84 kB / 1.133 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006219/0.5561, allocations: 155.8 kB / 1.133 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.5565, allocations: 255 kB / 1.134 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5565, allocations: 18.53 kB / 1.134 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.5565, allocations: 26.2 kB / 1.134 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.5568, allocations: 275.5 kB / 1.134 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5569, allocations: 2.344 kB / 1.134 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5569, allocations: 10 kB / 1.134 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.5569, allocations: 14.09 kB / 1.134 GB, free: 9.316 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.5572, allocations: 194.7 kB / 1.134 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.5581, allocations: 0.9159 MB / 1.135 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.5583, allocations: 131.9 kB / 1.135 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.5584, allocations: 83.77 kB / 1.135 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.5587, allocations: 70.05 kB / 1.135 GB, free: 8.465 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5588, allocations: 40.33 kB / 1.135 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.5588, allocations: 4 kB / 1.135 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0006082/0.5594, allocations: 273.3 kB / 1.136 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5594, allocations: 57.59 kB / 1.136 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.5596, allocations: 244.9 kB / 1.136 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5596, allocations: 26.8 kB / 1.136 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.5597, allocations: 184.9 kB / 1.136 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.5598, allocations: 67.12 kB / 1.136 GB, free: 7.867 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.5598, allocations: 41.77 kB / 1.136 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.5599, allocations: 336.8 kB / 1.136 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.56, allocations: 62.84 kB / 1.137 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.5602, allocations: 204.1 kB / 1.137 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.5604, allocations: 192.5 kB / 1.137 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.5604, allocations: 1.406 kB / 1.137 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000332/0.5607, allocations: 243 kB / 1.137 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5608, allocations: 8.516 kB / 1.137 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5608, allocations: 1.375 kB / 1.137 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.5608, allocations: 3.781 kB / 1.137 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.5609, allocations: 41.66 kB / 1.137 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.5609, allocations: 14.33 kB / 1.137 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.561, allocations: 28.89 kB / 1.137 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.5611, allocations: 7.672 kB / 1.137 GB, free: 7.094 MB / 0.9948 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 9.173e-05/0.5612, allocations: 149.2 kB / 1.137 GB, free: 6.961 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.5612, allocations: 28.17 kB / 1.137 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.5615, allocations: 214.2 kB / 1.138 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.5615, allocations: 1.469 kB / 1.138 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5615, allocations: 0 / 1.138 GB, free: 6.855 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5615, allocations: 5.828 kB / 1.138 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006265/0.5622, allocations: 0.5987 MB / 1.138 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5622, allocations: 1.438 kB / 1.138 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.5623, allocations: 34.02 kB / 1.138 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5623, allocations: 6.656 kB / 1.138 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.5623, allocations: 7.859 kB / 1.138 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.5623, allocations: 6.844 kB / 1.138 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5623, allocations: 5.125 kB / 1.138 GB, free: 6.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.5627, allocations: 423.5 kB / 1.139 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.5627, allocations: 33.7 kB / 1.139 GB, free: 6.145 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.5628, allocations: 8.578 kB / 1.139 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.5628, allocations: 11.2 kB / 1.139 GB, free: 6.137 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.5629, allocations: 24.2 kB / 1.139 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5629, allocations: 5.188 kB / 1.139 GB, free: 6.125 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001057/0.563, allocations: 179.9 kB / 1.139 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.563, allocations: 0 / 1.139 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002602/0.5633, allocations: 87.2 kB / 1.139 GB, free: 6 MB / 0.9948 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.0002251/0.5635, allocations: 151.6 kB / 1.139 GB, free: 5.891 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.5638, allocations: 171 kB / 1.139 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5638, allocations: 0 / 1.139 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.5639, allocations: 79.75 kB / 1.139 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.5643, allocations: 119.3 kB / 1.139 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.565, allocations: 0.5965 MB / 1.14 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.5651, allocations: 172.1 kB / 1.14 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.5652, allocations: 25.39 kB / 1.14 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.5652, allocations: 0 / 1.14 GB, free: 5.273 MB / 0.9948 GB Notification: Performance of Templates: time 0.00607/0.5712, allocations: 4.37 MB / 1.145 GB, free: 4.844 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.940449899993837]