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.001742/0.001742, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001736/0.001736, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.957/2.957, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] 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.042e-06/1.042e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.236e-05, allocations: 4.422 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2305/0.2305, allocations: 147.6 MB / 0.955 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.2341, allocations: 1.485 MB / 0.9564 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.2346, allocations: 15.88 kB / 0.9564 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.2352, allocations: 154.8 kB / 0.9566 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.2376, allocations: 0.7189 MB / 0.9573 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.2397, allocations: 0.6657 MB / 0.9579 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2409, allocations: 0.6971 MB / 0.9586 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.2414, allocations: 189.2 kB / 0.9588 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.2428, allocations: 0.588 MB / 0.9594 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.2432, allocations: 195.4 kB / 0.9595 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.2432, allocations: 24 kB / 0.9596 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2447, allocations: 0.7164 MB / 0.9603 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2449, allocations: 115.6 kB / 0.9604 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2451, allocations: 111.7 kB / 0.9605 GB, free: 8.348 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.2467, allocations: 0.7322 MB / 0.9612 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2467, allocations: 0 / 0.9612 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2467, allocations: 0 / 0.9612 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.2467, allocations: 4 kB / 0.9612 GB, free: 7.609 MB / 0.9167 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.248, allocations: 0.5823 MB / 0.9618 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.248, allocations: 12.03 kB / 0.9618 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.2494, allocations: 207.2 kB / 0.962 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.2501, allocations: 276.5 kB / 0.9622 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2501, allocations: 16.5 kB / 0.9623 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.2501, allocations: 24 kB / 0.9623 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.2507, allocations: 280.3 kB / 0.9625 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2508, allocations: 3.984 kB / 0.9625 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.2508, allocations: 4 kB / 0.9626 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2508, allocations: 15.94 kB / 0.9626 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.2513, allocations: 199.8 kB / 0.9628 GB, free: 5.934 MB / 0.9167 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.001578/0.2529, allocations: 0.9194 MB / 0.9637 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.2532, allocations: 130.5 kB / 0.9638 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.2534, allocations: 84.8 kB / 0.9639 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/0.2539, allocations: 67.92 kB / 0.9639 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2539, allocations: 38.5 kB / 0.964 GB, free: 4.633 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.2539, allocations: 4 kB / 0.964 GB, free: 4.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0008803/0.2548, allocations: 282.5 kB / 0.9642 GB, free: 4.348 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.2549, allocations: 55.34 kB / 0.9643 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.2552, allocations: 249.9 kB / 0.9645 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.2552, allocations: 25.7 kB / 0.9646 GB, free: 4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2554, allocations: 188.2 kB / 0.9647 GB, free: 3.812 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.2554, allocations: 51.53 kB / 0.9648 GB, free: 3.762 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.2555, allocations: 53.64 kB / 0.9648 GB, free: 3.703 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003491/0.2559, allocations: 334.8 kB / 0.9652 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2561, allocations: 63.95 kB / 0.9652 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.2564, allocations: 208.2 kB / 0.9654 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.2568, allocations: 199.9 kB / 0.9656 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2568, allocations: 0 / 0.9656 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005615/0.2574, allocations: 249.2 kB / 0.9658 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2574, allocations: 8 kB / 0.9658 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2574, allocations: 0 / 0.9658 GB, free: 2.594 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2575, allocations: 4 kB / 0.9658 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.2577, allocations: 47.91 kB / 0.9659 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2577, allocations: 0 / 0.9659 GB, free: 2.543 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.2579, allocations: 27.97 kB / 0.9659 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2579, allocations: 8 kB / 0.9659 GB, free: 2.508 MB / 0.9167 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.0001827/0.2581, allocations: 149.8 kB / 0.9661 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.2582, allocations: 31.8 kB / 0.9661 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005174/0.2587, allocations: 213.1 kB / 0.9663 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2587, allocations: 4 kB / 0.9663 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2587, allocations: 0 / 0.9663 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2587, allocations: 4 kB / 0.9663 GB, free: 2.094 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.2598, allocations: 0.6011 MB / 0.9669 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2599, allocations: 4 kB / 0.9669 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.26, allocations: 27.98 kB / 0.9669 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.26, allocations: 4.219 kB / 0.9669 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2601, allocations: 8 kB / 0.9669 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2601, allocations: 4 kB / 0.9669 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.2601, allocations: 11.92 kB / 0.967 GB, free: 1.375 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007778/0.2608, allocations: 428.1 kB / 0.9674 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2609, allocations: 43.83 kB / 0.9674 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.261, allocations: 11.98 kB / 0.9674 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2612, allocations: 12.06 kB / 0.9674 GB, free: 0.8555 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.2612, allocations: 19.91 kB / 0.9675 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2612, allocations: 8 kB / 0.9675 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001956/0.2614, allocations: 173.2 kB / 0.9676 GB, free: 0.6602 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2614, allocations: 3.938 kB / 0.9676 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004593/0.2619, allocations: 91.81 kB / 0.9677 GB, free: 0.5664 MB / 0.9167 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.0003226/0.2622, allocations: 147.1 kB / 0.9679 GB, free: 424 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.2627, allocations: 167.8 kB / 0.968 GB, free: 256 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2627, allocations: 4 kB / 0.968 GB, free: 252 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2629, allocations: 79.83 kB / 0.9681 GB, free: 172 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/0.2637, allocations: 123 kB / 0.9682 GB, free: 52 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.265, allocations: 0.5623 MB / 0.9688 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2652, allocations: 170.8 kB / 0.9689 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000217/0.2654, allocations: 58.39 kB / 0.969 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.2655, allocations: 24.5 kB / 0.969 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of SimCode: time 3.3e-07/0.2655, allocations: 0 / 0.969 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of Templates: time 0.01133/0.2768, allocations: 4.836 MB / 0.9737 GB, free: 10.48 MB / 0.9323 GB " [Timeout remaining time 300] 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: 8.589410303044133]