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.0009819/0.0009819, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00105/0.00105, allocations: 165 kB / 24.17 MB, free: 328 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 1.007/1.007, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.24e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006119/0.006132, allocations: 7.279 MB / 0.7672 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.008599, allocations: 2.585 MB / 0.7697 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.008767, allocations: 19.81 kB / 0.7697 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.009071, allocations: 131.8 kB / 0.7698 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.009573, allocations: 397.6 kB / 0.7702 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.01026, allocations: 0.5802 MB / 0.7708 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.01092, allocations: 0.9472 MB / 0.7717 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.01119, allocations: 258.5 kB / 0.7719 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.01157, allocations: 478.7 kB / 0.7724 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.01179, allocations: 244.4 kB / 0.7726 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.01183, allocations: 24.94 kB / 0.7727 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.012, allocations: 119.7 kB / 0.7728 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.01219, allocations: 83.55 kB / 0.7729 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.01228, allocations: 128.5 kB / 0.773 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.0126, allocations: 346.7 kB / 0.7733 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.0126, allocations: 2.562 kB / 0.7733 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.0126, allocations: 0 / 0.7733 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.01261, allocations: 3.938 kB / 0.7733 GB, free: 9.047 MB / 0.7292 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.0005796/0.01319, allocations: 0.6158 MB / 0.7739 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.01322, allocations: 12.03 kB / 0.7739 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.01327, allocations: 48.89 kB / 0.774 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.01359, allocations: 323.7 kB / 0.7743 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.0136, allocations: 24.81 kB / 0.7743 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.01363, allocations: 24.38 kB / 0.7743 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.01378, allocations: 139 kB / 0.7745 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.01378, allocations: 0 / 0.7745 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.01379, allocations: 4 kB / 0.7745 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.0138, allocations: 11.53 kB / 0.7745 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.01387, allocations: 43.47 kB / 0.7745 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.01447, allocations: 464.5 kB / 0.775 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.01468, allocations: 117.3 kB / 0.7751 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.01471, allocations: 35.59 kB / 0.7751 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/0.01477, allocations: 16.58 kB / 0.7751 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.01478, allocations: 39.72 kB / 0.7752 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.01479, allocations: 0 / 0.7752 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001421/0.01493, allocations: 101.5 kB / 0.7753 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.01495, allocations: 52.34 kB / 0.7753 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.01514, allocations: 339.2 kB / 0.7756 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.01516, allocations: 34.3 kB / 0.7757 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.01523, allocations: 177.5 kB / 0.7758 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.01525, allocations: 40.27 kB / 0.7759 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.0153, allocations: 65.61 kB / 0.7759 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.01538, allocations: 343.3 kB / 0.7763 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.01541, allocations: 23.41 kB / 0.7763 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.844e-05/0.01551, allocations: 232.6 kB / 0.7765 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.01559, allocations: 88.94 kB / 0.7766 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01559, allocations: 0 / 0.7766 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001316/0.01572, allocations: 135.2 kB / 0.7767 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.01573, allocations: 4.812 kB / 0.7767 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01573, allocations: 4 kB / 0.7767 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.01575, allocations: 4.875 kB / 0.7767 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01589, allocations: 51.91 kB / 0.7768 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.0159, allocations: 1.062 kB / 0.7768 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.016, allocations: 23.88 kB / 0.7768 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01602, allocations: 16.98 kB / 0.7768 GB, free: 5.246 MB / 0.7292 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 7.046e-05/0.01609, allocations: 124.5 kB / 0.7769 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.01612, allocations: 25.03 kB / 0.777 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.01626, allocations: 128.8 kB / 0.7771 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01627, allocations: 0 / 0.7771 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.01627, allocations: 0 / 0.7771 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.01627, allocations: 0.9375 kB / 0.7771 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.01661, allocations: 481.3 kB / 0.7775 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.01661, allocations: 1.125 kB / 0.7775 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.01669, allocations: 41.45 kB / 0.7776 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01669, allocations: 4 kB / 0.7776 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.0167, allocations: 1.438 kB / 0.7776 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0167, allocations: 4 kB / 0.7776 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.0167, allocations: 0 / 0.7776 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.01684, allocations: 286.4 kB / 0.7779 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.01689, allocations: 43.69 kB / 0.7779 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.01691, allocations: 4 kB / 0.7779 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.017, allocations: 17.48 kB / 0.7779 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.01702, allocations: 7.984 kB / 0.7779 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.01703, allocations: 4 kB / 0.7779 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.659e-05/0.01712, allocations: 140.7 kB / 0.7781 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01712, allocations: 0.5 kB / 0.7781 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002158/0.01734, allocations: 97.47 kB / 0.7782 GB, free: 3.785 MB / 0.7292 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.0001451/0.01748, allocations: 125.8 kB / 0.7783 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.0176, allocations: 87.31 kB / 0.7784 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.0176, allocations: 4 kB / 0.7784 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.01765, allocations: 51.72 kB / 0.7784 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.01802, allocations: 148.4 kB / 0.7786 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.01892, allocations: 0.6404 MB / 0.7792 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.366e-05/0.01897, allocations: 100.5 kB / 0.7793 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.01908, allocations: 48.86 kB / 0.7793 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.01928, allocations: 152.4 kB / 0.7795 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/0.01928, allocations: 0 / 0.7795 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of Templates: time 0.008011/0.02729, allocations: 6.471 MB / 0.7858 GB, free: 12.2 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -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.013614919036627]