Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001768/0.001768, allocations: 104.4 kB / 19.7 MB, free: 2.137 MB / 14.72 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.002205/0.002205, allocations: 213.2 kB / 22.99 MB, free: 4.965 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.776/2.776, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 69.2 kB / 1.118 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3517, allocations: 170 MB / 1.284 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1972/0.5489, allocations: 147.6 MB / 1.428 GB, free: 15.52 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.5521, allocations: 1.477 MB / 1.429 GB, free: 14.04 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.5525, allocations: 15.88 kB / 1.429 GB, free: 14.02 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.5531, allocations: 154.8 kB / 1.43 GB, free: 13.87 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.5553, allocations: 0.7001 MB / 1.43 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.5571, allocations: 0.6304 MB / 1.431 GB, free: 12.54 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.5582, allocations: 0.7129 MB / 1.432 GB, free: 11.82 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.5586, allocations: 173.1 kB / 1.432 GB, free: 11.65 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.5594, allocations: 350.7 kB / 1.432 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.5598, allocations: 230.9 kB / 1.432 GB, free: 11.08 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.5599, allocations: 24 kB / 1.432 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.5614, allocations: 0.7166 MB / 1.433 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.5615, allocations: 115.7 kB / 1.433 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.5618, allocations: 143.3 kB / 1.433 GB, free: 10.08 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.5631, allocations: 0.6891 MB / 1.434 GB, free: 9.391 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5632, allocations: 4 kB / 1.434 GB, free: 9.387 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5632, allocations: 0 / 1.434 GB, free: 9.387 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.5632, allocations: 0 / 1.434 GB, free: 9.387 MB / 1.139 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.001253/0.5644, allocations: 0.5861 MB / 1.434 GB, free: 8.77 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5645, allocations: 12.03 kB / 1.435 GB, free: 8.758 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.5657, allocations: 155.6 kB / 1.435 GB, free: 8.605 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.5663, allocations: 260.1 kB / 1.435 GB, free: 8.328 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5664, allocations: 12.44 kB / 1.435 GB, free: 8.316 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.5664, allocations: 24 kB / 1.435 GB, free: 8.293 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.567, allocations: 283.3 kB / 1.435 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.567, allocations: 0 / 1.435 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.567, allocations: 11.98 kB / 1.435 GB, free: 7.98 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.567, allocations: 4 kB / 1.435 GB, free: 7.977 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.5675, allocations: 195.8 kB / 1.435 GB, free: 7.785 MB / 1.139 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.00149/0.569, allocations: 0.9193 MB / 1.436 GB, free: 6.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.5693, allocations: 126.5 kB / 1.436 GB, free: 6.688 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5695, allocations: 92.73 kB / 1.437 GB, free: 6.594 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.5699, allocations: 79.92 kB / 1.437 GB, free: 6.516 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.57, allocations: 34.5 kB / 1.437 GB, free: 6.473 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.57, allocations: 0 / 1.437 GB, free: 6.473 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0008568/0.5708, allocations: 279.2 kB / 1.437 GB, free: 6.195 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5709, allocations: 55.41 kB / 1.437 GB, free: 6.129 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.5712, allocations: 249.9 kB / 1.437 GB, free: 5.879 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5712, allocations: 29.7 kB / 1.437 GB, free: 5.844 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5714, allocations: 184.2 kB / 1.437 GB, free: 5.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.5714, allocations: 55.52 kB / 1.437 GB, free: 5.605 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.5715, allocations: 45.66 kB / 1.437 GB, free: 5.555 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5717, allocations: 338.8 kB / 1.438 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.5718, allocations: 63.95 kB / 1.438 GB, free: 5.152 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.5721, allocations: 206.1 kB / 1.438 GB, free: 4.914 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.5725, allocations: 186.5 kB / 1.438 GB, free: 4.715 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5725, allocations: 4 kB / 1.438 GB, free: 4.711 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000497/0.573, allocations: 237.3 kB / 1.438 GB, free: 4.473 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.573, allocations: 6.188 kB / 1.438 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.573, allocations: 0 / 1.438 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.573, allocations: 4 kB / 1.438 GB, free: 4.465 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.5732, allocations: 43.91 kB / 1.439 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5732, allocations: 4 kB / 1.439 GB, free: 4.418 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.5734, allocations: 27.81 kB / 1.439 GB, free: 4.391 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.5735, allocations: 8 kB / 1.439 GB, free: 4.383 MB / 1.139 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.000167/0.5736, allocations: 157.8 kB / 1.439 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.5737, allocations: 27.84 kB / 1.439 GB, free: 4.191 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.5742, allocations: 211.2 kB / 1.439 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5742, allocations: 0 / 1.439 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5742, allocations: 0 / 1.439 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5742, allocations: 3.984 kB / 1.439 GB, free: 3.977 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5753, allocations: 0.6012 MB / 1.44 GB, free: 3.316 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5753, allocations: 3.938 kB / 1.44 GB, free: 3.312 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.5755, allocations: 27.98 kB / 1.44 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.5755, allocations: 4 kB / 1.44 GB, free: 3.281 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5755, allocations: 11.98 kB / 1.44 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.5755, allocations: 3.938 kB / 1.44 GB, free: 3.266 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.5755, allocations: 12.09 kB / 1.44 GB, free: 3.254 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.5762, allocations: 428 kB / 1.44 GB, free: 2.801 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5763, allocations: 39.84 kB / 1.44 GB, free: 2.762 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.5764, allocations: 8 kB / 1.44 GB, free: 2.754 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.5765, allocations: 19.92 kB / 1.44 GB, free: 2.734 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.5766, allocations: 15.92 kB / 1.44 GB, free: 2.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.5766, allocations: 8 kB / 1.44 GB, free: 2.711 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001717/0.5768, allocations: 181.3 kB / 1.44 GB, free: 2.535 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5768, allocations: 0 / 1.44 GB, free: 2.535 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004401/0.5772, allocations: 83.83 kB / 1.44 GB, free: 2.453 MB / 1.139 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.0003223/0.5776, allocations: 151 kB / 1.44 GB, free: 2.293 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.578, allocations: 167.8 kB / 1.441 GB, free: 2.129 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.578, allocations: 4.188 kB / 1.441 GB, free: 2.125 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.5782, allocations: 83.89 kB / 1.441 GB, free: 2.043 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.579, allocations: 117.3 kB / 1.441 GB, free: 1.934 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.5802, allocations: 0.627 MB / 1.441 GB, free: 1.25 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.5803, allocations: 166.8 kB / 1.442 GB, free: 1.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.5804, allocations: 31.36 kB / 1.442 GB, free: 1.039 MB / 1.139 GB Notification: Performance of SimCode: time 6.51e-07/0.5804, allocations: 0 / 1.442 GB, free: 1.039 MB / 1.139 GB Notification: Performance of Templates: time 0.00802/0.5884, allocations: 4.36 MB / 1.446 GB, free: 12.72 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.33437447110191]