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.0009356/0.0009356, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009029/0.0009029, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.8692/0.8692, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.721/1.721, allocations: 377.9 MB / 0.6236 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 178] 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.473e-06/1.473e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.699e-05, allocations: 3.5 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.005985/0.006002, allocations: 7.275 MB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.008557, allocations: 2.559 MB / 0.8212 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.008764, allocations: 25.03 kB / 0.8212 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.0091, allocations: 123 kB / 0.8213 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.009684, allocations: 399 kB / 0.8217 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.0105, allocations: 0.5901 MB / 0.8223 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.01126, allocations: 0.9476 MB / 0.8232 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.01156, allocations: 266.7 kB / 0.8234 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.01202, allocations: 498.6 kB / 0.8239 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.01226, allocations: 252.9 kB / 0.8241 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.0123, allocations: 20 kB / 0.8242 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.01247, allocations: 111.8 kB / 0.8243 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.01255, allocations: 83.61 kB / 0.8244 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.01265, allocations: 132.1 kB / 0.8245 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.01303, allocations: 355.9 kB / 0.8248 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01303, allocations: 0 / 0.8248 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01303, allocations: 0 / 0.8248 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.01304, allocations: 0 / 0.8248 GB, free: 4.152 MB / 0.7761 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.0008157/0.01385, allocations: 0.7389 MB / 0.8255 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.01389, allocations: 9.031 kB / 0.8255 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.01402, allocations: 68.59 kB / 0.8256 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.01444, allocations: 351.5 kB / 0.8259 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.01446, allocations: 20.88 kB / 0.826 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.01449, allocations: 24.38 kB / 0.826 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.01471, allocations: 144.2 kB / 0.8261 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01472, allocations: 0 / 0.8261 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.01473, allocations: 4 kB / 0.8261 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.01474, allocations: 4.719 kB / 0.8261 GB, free: 2.738 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.01486, allocations: 74.88 kB / 0.8262 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.01581, allocations: 0.6781 MB / 0.8269 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.01611, allocations: 99.06 kB / 0.827 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.01616, allocations: 35.61 kB / 0.827 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.01625, allocations: 15.98 kB / 0.827 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.01628, allocations: 41.33 kB / 0.8271 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.01628, allocations: 0 / 0.8271 GB, free: 1.738 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002515/0.01653, allocations: 129.6 kB / 0.8272 GB, free: 1.605 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.01656, allocations: 55.41 kB / 0.8272 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.01687, allocations: 406.7 kB / 0.8276 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.01689, allocations: 29.7 kB / 0.8276 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.01702, allocations: 267.4 kB / 0.8279 GB, free: 0.8242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.01705, allocations: 47.52 kB / 0.8279 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.01711, allocations: 55.36 kB / 0.828 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.01726, allocations: 0.5157 MB / 0.8285 GB, free: 192 kB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.01731, allocations: 23.98 kB / 0.8285 GB, free: 168 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.01747, allocations: 250.9 kB / 0.8288 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.01759, allocations: 98.67 kB / 0.8289 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0176, allocations: 3.938 kB / 0.8289 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002119/0.01781, allocations: 181.5 kB / 0.829 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.01783, allocations: 10.59 kB / 0.829 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01783, allocations: 7.984 kB / 0.8291 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01785, allocations: 0 / 0.8291 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.01798, allocations: 43.92 kB / 0.8291 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01798, allocations: 0 / 0.8291 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.0181, allocations: 23.88 kB / 0.8291 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.01812, allocations: 8 kB / 0.8291 GB, free: 15.47 MB / 0.7917 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.0001208/0.01824, allocations: 164.6 kB / 0.8293 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.01829, allocations: 47.7 kB / 0.8293 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.01851, allocations: 152.4 kB / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.01852, allocations: 4 kB / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01852, allocations: 0 / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01853, allocations: 0 / 0.8295 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.019, allocations: 0.5428 MB / 0.83 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.019, allocations: 4 kB / 0.83 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.01912, allocations: 32.05 kB / 0.83 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01912, allocations: 4 kB / 0.83 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01913, allocations: 4 kB / 0.8301 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01913, allocations: 0 / 0.8301 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.01914, allocations: 4.078 kB / 0.8301 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01934, allocations: 327.8 kB / 0.8304 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.0194, allocations: 51.67 kB / 0.8304 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01942, allocations: 4 kB / 0.8304 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.01952, allocations: 8 kB / 0.8304 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.01955, allocations: 7.984 kB / 0.8304 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01956, allocations: 8 kB / 0.8304 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001687/0.01972, allocations: 271.1 kB / 0.8307 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01972, allocations: 0 / 0.8307 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002665/0.01999, allocations: 107.7 kB / 0.8308 GB, free: 13.64 MB / 0.7917 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.0002194/0.02021, allocations: 151.1 kB / 0.8309 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.02039, allocations: 103.5 kB / 0.831 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0204, allocations: 0 / 0.831 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.02046, allocations: 43.61 kB / 0.8311 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.02092, allocations: 143.5 kB / 0.8312 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.02202, allocations: 0.643 MB / 0.8319 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.454e-05/0.02207, allocations: 104.6 kB / 0.832 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.02218, allocations: 62.55 kB / 0.832 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.02223, allocations: 36.5 kB / 0.832 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of SimCode: time 6.41e-07/0.02223, allocations: 0 / 0.832 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of Templates: time 0.00802/0.03025, allocations: 6.443 MB / 0.8383 GB, free: 6.117 MB / 0.7917 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.844268378801644]