Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.001758/0.001758, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.00222/0.00222, allocations: 212.9 kB / 22.99 MB, free: 4.945 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [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.002053/0.002053, allocations: 71.64 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01843/0.3386, allocations: 14.35 MB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006949/0.3455, allocations: 4.266 MB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.3461, allocations: 27.75 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.3467, allocations: 190.6 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3483, allocations: 0.5908 MB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3499, allocations: 0.5883 MB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.3513, allocations: 0.9586 MB / 1.348 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.3518, allocations: 252.4 kB / 1.348 GB, free: 11.71 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008722/0.3526, allocations: 482.1 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.3531, allocations: 318.5 kB / 1.349 GB, free: 10.92 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.3531, allocations: 24 kB / 1.349 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.3536, allocations: 191.7 kB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3537, allocations: 79.67 kB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.3539, allocations: 163.1 kB / 1.349 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.3547, allocations: 0.494 MB / 1.349 GB, free: 9.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3547, allocations: 0 / 1.349 GB, free: 9.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3547, allocations: 0 / 1.349 GB, free: 9.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3547, allocations: 0 / 1.349 GB, free: 9.977 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001205/0.3559, allocations: 0.6717 MB / 1.35 GB, free: 9.273 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3559, allocations: 8.031 kB / 1.35 GB, free: 9.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.356, allocations: 48.66 kB / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006899/0.3567, allocations: 331.2 kB / 1.351 GB, free: 8.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3567, allocations: 20.56 kB / 1.351 GB, free: 8.848 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.3568, allocations: 24 kB / 1.351 GB, free: 8.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3572, allocations: 195.2 kB / 1.351 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3572, allocations: 7.938 kB / 1.351 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3572, allocations: 4 kB / 1.351 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3572, allocations: 8 kB / 1.351 GB, free: 8.605 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.3575, allocations: 133.7 kB / 1.351 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.3589, allocations: 0.6317 MB / 1.351 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.3594, allocations: 110.6 kB / 1.352 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3595, allocations: 44.83 kB / 1.352 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.3596, allocations: 31.98 kB / 1.352 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3597, allocations: 42.42 kB / 1.352 GB, free: 7.566 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.3597, allocations: 0 / 1.352 GB, free: 7.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004041/0.3601, allocations: 173.4 kB / 1.352 GB, free: 7.391 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3601, allocations: 51.41 kB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.3606, allocations: 385.6 kB / 1.352 GB, free: 6.945 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3606, allocations: 25.7 kB / 1.352 GB, free: 6.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.3608, allocations: 224.6 kB / 1.353 GB, free: 6.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.3608, allocations: 43.58 kB / 1.353 GB, free: 6.648 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.3609, allocations: 53.69 kB / 1.353 GB, free: 6.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3611, allocations: 346.8 kB / 1.353 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3612, allocations: 47.98 kB / 1.353 GB, free: 6.195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.3615, allocations: 265.7 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3617, allocations: 139.3 kB / 1.353 GB, free: 5.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3617, allocations: 0 / 1.353 GB, free: 5.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003908/0.3621, allocations: 221.2 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3621, allocations: 4 kB / 1.354 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3621, allocations: 4 kB / 1.354 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3621, allocations: 0 / 1.354 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.3624, allocations: 47.91 kB / 1.354 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3624, allocations: 0 / 1.354 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3627, allocations: 27.88 kB / 1.354 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3627, allocations: 8 kB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001688/0.3629, allocations: 163.4 kB / 1.354 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.3629, allocations: 35.77 kB / 1.354 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.3633, allocations: 186.3 kB / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3633, allocations: 4 kB / 1.354 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3633, allocations: 0 / 1.354 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.3633, allocations: 3.984 kB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.3641, allocations: 0.548 MB / 1.355 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3641, allocations: 0 / 1.355 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3642, allocations: 23.98 kB / 1.355 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3642, allocations: 4 kB / 1.355 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3643, allocations: 4 kB / 1.355 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.3643, allocations: 7.938 kB / 1.355 GB, free: 4.391 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3643, allocations: 3.984 kB / 1.355 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3646, allocations: 298.6 kB / 1.355 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.3647, allocations: 51.72 kB / 1.355 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3648, allocations: 4 kB / 1.355 GB, free: 4.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.365, allocations: 12.08 kB / 1.355 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.365, allocations: 19.92 kB / 1.355 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.3651, allocations: 4 kB / 1.355 GB, free: 3.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003523/0.3654, allocations: 275.1 kB / 1.355 GB, free: 3.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3654, allocations: 0 / 1.355 GB, free: 3.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004768/0.3659, allocations: 104 kB / 1.355 GB, free: 3.609 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003782/0.3663, allocations: 195 kB / 1.356 GB, free: 3.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.3666, allocations: 135.7 kB / 1.356 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3666, allocations: 0 / 1.356 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3667, allocations: 59.91 kB / 1.356 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.3675, allocations: 146.4 kB / 1.356 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3688, allocations: 0.6521 MB / 1.357 GB, free: 2.387 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.369, allocations: 207 kB / 1.357 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.3692, allocations: 58.69 kB / 1.357 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.3693, allocations: 23.44 kB / 1.357 GB, free: 2.086 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.3693, allocations: 7.938 kB / 1.357 GB, free: 2.078 MB / 1.045 GB Notification: Performance of Templates: time 0.01379/0.3831, allocations: 7.112 MB / 1.364 GB, free: 11.15 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.749165961009567]