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.00149/0.00149, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001726/0.001726, allocations: 164.1 kB / 22.46 MB, free: 5.371 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.545/1.545, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.958/2.958, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 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.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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.804e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02143/0.02146, allocations: 14.25 MB / 0.9953 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007646/0.0291, allocations: 4.268 MB / 0.9995 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005749/0.02968, allocations: 27.75 kB / 0.9995 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.03042, allocations: 186.6 kB / 0.9997 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.03218, allocations: 0.6079 MB / 1 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.03391, allocations: 0.61 MB / 1.001 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.03531, allocations: 0.9621 MB / 1.002 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.0358, allocations: 260.3 kB / 1.002 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.037, allocations: 0.5762 MB / 1.003 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.03765, allocations: 259.2 kB / 1.003 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.03774, allocations: 24 kB / 1.003 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.03826, allocations: 187.5 kB / 1.003 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.03841, allocations: 91.55 kB / 1.003 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.03863, allocations: 131.6 kB / 1.003 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009235/0.03955, allocations: 0.4906 MB / 1.004 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.03956, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.03956, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.03958, allocations: 0 / 1.004 GB, free: 5.004 MB / 0.9512 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.001355/0.04093, allocations: 0.6601 MB / 1.004 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.04098, allocations: 8.031 kB / 1.004 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.04121, allocations: 52.61 kB / 1.005 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.04202, allocations: 330.5 kB / 1.005 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.04204, allocations: 16.88 kB / 1.005 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.04209, allocations: 32.31 kB / 1.005 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.04249, allocations: 196.2 kB / 1.005 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.0425, allocations: 0 / 1.005 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.04253, allocations: 8 kB / 1.005 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.04254, allocations: 4 kB / 1.005 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.04281, allocations: 133.9 kB / 1.005 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.04439, allocations: 0.632 MB / 1.006 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.04492, allocations: 118.6 kB / 1.006 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.04501, allocations: 44.84 kB / 1.006 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.04517, allocations: 31.91 kB / 1.006 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.0452, allocations: 34.5 kB / 1.006 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.04521, allocations: 0 / 1.006 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0004374/0.04564, allocations: 173.7 kB / 1.006 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.04569, allocations: 51.41 kB / 1.006 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.04621, allocations: 393.5 kB / 1.007 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.04626, allocations: 29.7 kB / 1.007 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.04658, allocations: 216.6 kB / 1.007 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.04663, allocations: 51.52 kB / 1.007 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.04672, allocations: 45.7 kB / 1.007 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002969/0.04702, allocations: 346.8 kB / 1.007 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.04723, allocations: 51.97 kB / 1.007 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.04757, allocations: 261.9 kB / 1.008 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.04786, allocations: 131.3 kB / 1.008 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.04786, allocations: 0 / 1.008 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004137/0.04827, allocations: 217.4 kB / 1.008 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.04829, allocations: 8.031 kB / 1.008 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.0483, allocations: 7.938 kB / 1.008 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.04832, allocations: 0 / 1.008 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.04855, allocations: 47.91 kB / 1.008 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.04856, allocations: 0 / 1.008 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.04887, allocations: 27.88 kB / 1.008 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.04891, allocations: 12 kB / 1.008 GB, free: 468 kB / 0.9512 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.000265/0.04918, allocations: 146.3 kB / 1.008 GB, free: 312 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.04926, allocations: 47.69 kB / 1.008 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.04964, allocations: 193 kB / 1.008 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.04965, allocations: 4 kB / 1.008 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.04966, allocations: 64 / 1.008 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.04966, allocations: 4 kB / 1.008 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.05053, allocations: 0.5363 MB / 1.009 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.05053, allocations: 128 / 1.009 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.05065, allocations: 27.98 kB / 1.009 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.05065, allocations: 7.938 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.05067, allocations: 4 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.05067, allocations: 4 kB / 1.009 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.05068, allocations: 4.031 kB / 1.009 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.05106, allocations: 290.6 kB / 1.009 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.05117, allocations: 51.73 kB / 1.009 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.05122, allocations: 0 / 1.009 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.05145, allocations: 11.98 kB / 1.009 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.05149, allocations: 19.92 kB / 1.009 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.05151, allocations: 11.98 kB / 1.009 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003682/0.05188, allocations: 263.2 kB / 1.01 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.05188, allocations: 0 / 1.01 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005241/0.0524, allocations: 119.6 kB / 1.01 GB, free: 14.64 MB / 0.9669 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.0003857/0.05279, allocations: 201.9 kB / 1.01 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.0531, allocations: 135.8 kB / 1.01 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.0531, allocations: 0 / 1.01 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.05321, allocations: 56.38 kB / 1.01 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008808/0.05409, allocations: 147 kB / 1.01 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.05574, allocations: 0.6373 MB / 1.011 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.05597, allocations: 203 kB / 1.011 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.05618, allocations: 62.5 kB / 1.011 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.05627, allocations: 32.48 kB / 1.011 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.05627, allocations: 0 / 1.011 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of Templates: time 0.01527/0.07154, allocations: 6.527 MB / 1.017 GB, free: 6.797 MB / 0.9669 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/jenkins/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.80138623341918]