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.0009577/0.0009577, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.0009379/0.0009379, allocations: 165 kB / 24.28 MB, free: 264 kB / 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.9281/0.9281, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.824/1.824, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.813e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01204/0.01207, allocations: 15.95 MB / 0.8271 GB, free: 2.105 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004667/0.01673, allocations: 4.721 MB / 0.8317 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.01705, allocations: 23.75 kB / 0.8317 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.01758, allocations: 198.4 kB / 0.8319 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0009909/0.01857, allocations: 0.6138 MB / 0.8325 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.01987, allocations: 0.5958 MB / 0.8331 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0008708/0.02075, allocations: 0.9504 MB / 0.834 GB, free: 11 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003453/0.02109, allocations: 272.5 kB / 0.8343 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005992/0.02169, allocations: 0.5839 MB / 0.8349 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.02197, allocations: 259.2 kB / 0.8351 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.02201, allocations: 24 kB / 0.8351 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.02231, allocations: 191.5 kB / 0.8353 GB, free: 9.672 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.0224, allocations: 87.55 kB / 0.8354 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.02252, allocations: 131.6 kB / 0.8355 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.02301, allocations: 402.5 kB / 0.8359 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02302, allocations: 0 / 0.8359 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.193e-06/0.02302, allocations: 4 kB / 0.8359 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.02302, allocations: 0 / 0.8359 GB, free: 9.059 MB / 0.7917 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.0007642/0.02379, allocations: 0.7481 MB / 0.8367 GB, free: 8.27 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.02383, allocations: 8.031 kB / 0.8367 GB, free: 8.262 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.02392, allocations: 68.61 kB / 0.8367 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.02433, allocations: 365.9 kB / 0.8371 GB, free: 7.812 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.02435, allocations: 16.88 kB / 0.8371 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.02438, allocations: 28.38 kB / 0.8371 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.02457, allocations: 144.2 kB / 0.8373 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.02457, allocations: 0 / 0.8373 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.02459, allocations: 4 kB / 0.8373 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.0246, allocations: 8 kB / 0.8373 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.02471, allocations: 66.95 kB / 0.8373 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.02558, allocations: 0.6743 MB / 0.838 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.02586, allocations: 95.06 kB / 0.8381 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.0259, allocations: 31.62 kB / 0.8381 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.02601, allocations: 35.97 kB / 0.8381 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.02603, allocations: 41.33 kB / 0.8382 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.02603, allocations: 0 / 0.8382 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of matching and sorting (n=12): time 0.0002225/0.02625, allocations: 125.4 kB / 0.8383 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.02628, allocations: 55.41 kB / 0.8384 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.02656, allocations: 410.6 kB / 0.8387 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.02657, allocations: 29.7 kB / 0.8388 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.02669, allocations: 275.3 kB / 0.839 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.02672, allocations: 35.69 kB / 0.8391 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.02678, allocations: 67.3 kB / 0.8391 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0269, allocations: 0.5157 MB / 0.8396 GB, free: 5.051 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.02695, allocations: 27.97 kB / 0.8397 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.02708, allocations: 244.3 kB / 0.8399 GB, free: 4.723 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.02726, allocations: 98.66 kB / 0.84 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02727, allocations: 0 / 0.84 GB, free: 4.609 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002089/0.02748, allocations: 181.3 kB / 0.8402 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.02749, allocations: 7.938 kB / 0.8402 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.02749, allocations: 4 kB / 0.8402 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.0275, allocations: 0 / 0.8402 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.02762, allocations: 39.98 kB / 0.8402 GB, free: 4.375 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.02763, allocations: 11.92 kB / 0.8402 GB, free: 4.363 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.02775, allocations: 19.89 kB / 0.8402 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.02777, allocations: 12 kB / 0.8403 GB, free: 4.332 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 8.794e-05/0.02786, allocations: 160.6 kB / 0.8404 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.0279, allocations: 51.69 kB / 0.8405 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.02811, allocations: 140.1 kB / 0.8406 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.02811, allocations: 0 / 0.8406 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02811, allocations: 4 kB / 0.8406 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02812, allocations: 7.984 kB / 0.8406 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.02856, allocations: 0.5428 MB / 0.8411 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.02857, allocations: 3.938 kB / 0.8411 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.02863, allocations: 27.92 kB / 0.8412 GB, free: 3.328 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.02863, allocations: 4 kB / 0.8412 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.02864, allocations: 4 kB / 0.8412 GB, free: 3.32 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.02864, allocations: 4 kB / 0.8412 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02865, allocations: 0 / 0.8412 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.02883, allocations: 324.3 kB / 0.8415 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.02889, allocations: 47.72 kB / 0.8415 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.02892, allocations: 8.062 kB / 0.8415 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.02901, allocations: 7.984 kB / 0.8415 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.02903, allocations: 15.98 kB / 0.8416 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.02904, allocations: 4 kB / 0.8416 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00017/0.02921, allocations: 275.1 kB / 0.8418 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02921, allocations: 0 / 0.8418 GB, free: 2.613 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002687/0.02948, allocations: 115.6 kB / 0.8419 GB, free: 2.5 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.0002493/0.02973, allocations: 203.1 kB / 0.8421 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.0299, allocations: 99.59 kB / 0.8422 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0299, allocations: 0 / 0.8422 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.02995, allocations: 51.55 kB / 0.8423 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.03043, allocations: 147.5 kB / 0.8424 GB, free: 2 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.03151, allocations: 0.6587 MB / 0.8431 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.03157, allocations: 100.6 kB / 0.8432 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.03169, allocations: 59.11 kB / 0.8432 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.03174, allocations: 24.5 kB / 0.8432 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of SimCode: time 8.82e-07/0.03174, allocations: 4 kB / 0.8432 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of Templates: time 0.008373/0.04012, allocations: 6.585 MB / 0.8497 GB, free: 10.71 MB / 0.8073 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: 5.086578184040263]