Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.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.001289/0.001289, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.00144/0.00144, allocations: 213.7 kB / 23 MB, free: 4.969 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.35 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.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") [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.002042/0.002042, allocations: 71.3 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3289, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing): time 0.1689/0.4978, allocations: 129.3 MB / 1.453 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.5163, allocations: 13.33 MB / 1.466 GB, free: 1.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.517, allocations: 27.75 kB / 1.466 GB, free: 1.844 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008903/0.5179, allocations: 274 kB / 1.467 GB, free: 1.574 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.5237, allocations: 2.209 MB / 1.469 GB, free: 15.36 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5254, allocations: 0.5749 MB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001701/0.5271, allocations: 1.192 MB / 1.471 GB, free: 13.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000604/0.5277, allocations: 342.2 kB / 1.471 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.5284, allocations: 454.1 kB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.529, allocations: 410.2 kB / 1.472 GB, free: 12.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.529, allocations: 40 kB / 1.472 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.5337, allocations: 2.516 MB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.5338, allocations: 107.5 kB / 1.474 GB, free: 9.742 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002448/0.5341, allocations: 207 kB / 1.474 GB, free: 9.539 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.5368, allocations: 1.866 MB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5368, allocations: 4 kB / 1.476 GB, free: 7.664 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5368, allocations: 0 / 1.476 GB, free: 7.664 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5368, allocations: 0 / 1.476 GB, free: 7.664 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001643/0.5384, allocations: 0.8655 MB / 1.477 GB, free: 6.762 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5385, allocations: 16.02 kB / 1.477 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.5396, allocations: 147.5 kB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.5406, allocations: 422.3 kB / 1.478 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5407, allocations: 28.59 kB / 1.478 GB, free: 6.133 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.5407, allocations: 32 kB / 1.478 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/0.5416, allocations: 483.2 kB / 1.478 GB, free: 5.582 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5416, allocations: 4 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.5417, allocations: 16 kB / 1.478 GB, free: 5.562 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5417, allocations: 8 kB / 1.478 GB, free: 5.555 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.5424, allocations: 302.3 kB / 1.479 GB, free: 5.258 MB / 1.17 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.002344/0.5448, allocations: 1.773 MB / 1.48 GB, free: 3.414 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006755/0.5454, allocations: 247.8 kB / 1.48 GB, free: 3.145 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.5457, allocations: 130.5 kB / 1.481 GB, free: 3.008 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005901/0.5463, allocations: 115.8 kB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.5463, allocations: 34.56 kB / 1.481 GB, free: 2.852 MB / 1.17 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.5463, allocations: 0 / 1.481 GB, free: 2.852 MB / 1.17 GB Notification: Performance of matching and sorting (n=18): time 0.00126/0.5476, allocations: 391.8 kB / 1.481 GB, free: 2.465 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.5477, allocations: 114.8 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.5481, allocations: 353.6 kB / 1.482 GB, free: 1.977 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.5481, allocations: 33.64 kB / 1.482 GB, free: 1.938 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5483, allocations: 260.2 kB / 1.482 GB, free: 1.68 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.5484, allocations: 71.36 kB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.5485, allocations: 65.92 kB / 1.482 GB, free: 1.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5486, allocations: 342.8 kB / 1.482 GB, free: 1.195 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.5489, allocations: 113.8 kB / 1.482 GB, free: 1.082 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.5493, allocations: 343.1 kB / 1.483 GB, free: 0.668 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.5499, allocations: 313.7 kB / 1.483 GB, free: 332 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5499, allocations: 0 / 1.483 GB, free: 332 kB / 1.17 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00097/0.5509, allocations: 368.9 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5509, allocations: 4 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5509, allocations: 4 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.5509, allocations: 4 kB / 1.483 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.5514, allocations: 88.23 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004323/0.5518, allocations: 0.5938 MB / 1.484 GB, free: 15.24 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.5521, allocations: 31.83 kB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.5521, allocations: 16 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000374/0.5525, allocations: 224.2 kB / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004264/0.5529, allocations: 347.4 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005855/0.5535, allocations: 314.9 kB / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.5535, allocations: 0 / 1.485 GB, free: 14.21 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization_lambda0): time 0.0009281/0.5544, allocations: 359.6 kB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5545, allocations: 14.17 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5545, allocations: 4 kB / 1.485 GB, free: 13.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.5545, allocations: 4 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.5547, allocations: 67.89 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5547, allocations: 11.88 kB / 1.485 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.555, allocations: 28.19 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.555, allocations: 16.09 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.5552, allocations: 209.9 kB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.5554, allocations: 39.77 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.5564, allocations: 423.1 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.5564, allocations: 7.922 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5564, allocations: 4 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5566, allocations: 67.66 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.5566, allocations: 15.98 kB / 1.486 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.5569, allocations: 22.36 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.557, allocations: 23.95 kB / 1.486 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009037/0.5579, allocations: 0.5428 MB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001223/0.5591, allocations: 0.7664 MB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002759/0.5594, allocations: 121.1 kB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002593/0.5596, allocations: 251.1 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of Backend: time 4.31e-07/0.5596, allocations: 4 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003123/0.5627, allocations: 0.8519 MB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of SimCode: time 0.001761/0.5645, allocations: 1.194 MB / 1.49 GB, free: 9.102 MB / 1.186 GB Notification: Performance of Templates: time 0.02848/0.593, allocations: 18.55 MB / 1.508 GB, free: 6.672 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ValveSelfActing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.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: 9.351239752002584]