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.001892/0.001892, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.0026/0.0026, allocations: 221.4 kB / 23 MB, free: 4.914 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.246/3.246, allocations: 0.4892 GB / 0.7951 GB, free: 35.75 MB / 0.6231 GB " [Timeout remaining time 176] 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.002869/0.002869, allocations: 68.7 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3936, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02208/0.4157, allocations: 14.36 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008113/0.4238, allocations: 4.27 MB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.4246, allocations: 23.75 kB / 1.345 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008823/0.4255, allocations: 194.6 kB / 1.345 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.4278, allocations: 0.5894 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.4298, allocations: 0.575 MB / 1.346 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.4316, allocations: 0.9508 MB / 1.347 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.4322, allocations: 260.4 kB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.4333, allocations: 478.1 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006779/0.434, allocations: 290.7 kB / 1.348 GB, free: 11.83 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4341, allocations: 23.98 kB / 1.348 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006227/0.4347, allocations: 183.7 kB / 1.348 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.4349, allocations: 95.55 kB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.4352, allocations: 163.1 kB / 1.348 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.4362, allocations: 0.4979 MB / 1.349 GB, free: 10.88 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4362, allocations: 8 kB / 1.349 GB, free: 10.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4362, allocations: 0 / 1.349 GB, free: 10.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.4363, allocations: 0 / 1.349 GB, free: 10.87 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.001481/0.4377, allocations: 0.6523 MB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4378, allocations: 12.03 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.4379, allocations: 44.66 kB / 1.349 GB, free: 10.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.4387, allocations: 339.2 kB / 1.35 GB, free: 9.773 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.4387, allocations: 24.56 kB / 1.35 GB, free: 9.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.4388, allocations: 24 kB / 1.35 GB, free: 9.727 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.4391, allocations: 195.3 kB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4392, allocations: 3.938 kB / 1.35 GB, free: 9.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.4392, allocations: 15.98 kB / 1.35 GB, free: 9.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4392, allocations: 4 kB / 1.35 GB, free: 9.504 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.4395, allocations: 133.7 kB / 1.35 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.4409, allocations: 0.6278 MB / 1.351 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.4414, allocations: 118.6 kB / 1.351 GB, free: 8.59 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.4415, allocations: 40.84 kB / 1.351 GB, free: 8.547 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4416, allocations: 31.97 kB / 1.351 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4416, allocations: 34.5 kB / 1.351 GB, free: 8.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.4416, allocations: 0 / 1.351 GB, free: 8.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0004093/0.4421, allocations: 169.4 kB / 1.351 GB, free: 8.301 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4421, allocations: 55.41 kB / 1.351 GB, free: 8.234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.4426, allocations: 381.6 kB / 1.351 GB, free: 7.852 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.4426, allocations: 37.7 kB / 1.352 GB, free: 7.809 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4428, allocations: 216.6 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.4429, allocations: 55.56 kB / 1.352 GB, free: 7.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.34e-05/0.443, allocations: 49.7 kB / 1.352 GB, free: 7.484 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.4431, allocations: 342.8 kB / 1.352 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4432, allocations: 51.97 kB / 1.352 GB, free: 7.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.4435, allocations: 260.9 kB / 1.352 GB, free: 6.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.4437, allocations: 131.3 kB / 1.353 GB, free: 6.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4437, allocations: 0 / 1.353 GB, free: 6.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003768/0.4441, allocations: 221.2 kB / 1.353 GB, free: 6.418 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4441, allocations: 4 kB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4441, allocations: 4 kB / 1.353 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4441, allocations: 4 kB / 1.353 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.4444, allocations: 48 kB / 1.353 GB, free: 6.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4444, allocations: 3.984 kB / 1.353 GB, free: 6.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.4446, allocations: 23.88 kB / 1.353 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4447, allocations: 15.98 kB / 1.353 GB, free: 6.316 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.0001766/0.4449, allocations: 157.7 kB / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.4449, allocations: 35.77 kB / 1.353 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.4453, allocations: 192.6 kB / 1.353 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4453, allocations: 3.938 kB / 1.353 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4453, allocations: 0 / 1.353 GB, free: 5.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4453, allocations: 4 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008462/0.4462, allocations: 0.5401 MB / 1.354 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4462, allocations: 0 / 1.354 GB, free: 5.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4463, allocations: 20 kB / 1.354 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4463, allocations: 4.109 kB / 1.354 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4463, allocations: 12 kB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4463, allocations: 0 / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.4463, allocations: 8.062 kB / 1.354 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4467, allocations: 303.5 kB / 1.354 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4468, allocations: 51.72 kB / 1.354 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4468, allocations: 4 kB / 1.354 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.447, allocations: 11.98 kB / 1.354 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.4471, allocations: 11.92 kB / 1.354 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.4471, allocations: 8 kB / 1.354 GB, free: 4.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003412/0.4474, allocations: 275.1 kB / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4474, allocations: 0 / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004625/0.4479, allocations: 107.7 kB / 1.355 GB, free: 4.508 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.0003569/0.4482, allocations: 195 kB / 1.355 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.4485, allocations: 140.2 kB / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4486, allocations: 0 / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.564e-05/0.4486, allocations: 55.92 kB / 1.355 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.4495, allocations: 142.3 kB / 1.355 GB, free: 3.977 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4511, allocations: 0.6876 MB / 1.356 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.4513, allocations: 199.1 kB / 1.356 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.4514, allocations: 39.36 kB / 1.356 GB, free: 2.984 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.4514, allocations: 0 / 1.356 GB, free: 2.984 MB / 1.045 GB Notification: Performance of Templates: time 0.0123/0.4637, allocations: 5.964 MB / 1.362 GB, free: 13.08 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 -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: 12.810087429825217]