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.001302/0.001302, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009341/0.0009341, allocations: 161 kB / 24.17 MB, free: 332 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.034/1.034, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.81/1.81, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.763e-06/1.763e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.517e-05, allocations: 6.031 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006087/0.006112, allocations: 7.233 MB / 0.7671 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.008737, allocations: 2.583 MB / 0.7696 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.00896, allocations: 19.81 kB / 0.7696 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.009356, allocations: 126.9 kB / 0.7697 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.01009, allocations: 402.8 kB / 0.7701 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.01111, allocations: 0.5801 MB / 0.7707 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.01202, allocations: 0.9503 MB / 0.7716 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.01238, allocations: 267.6 kB / 0.7719 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.01289, allocations: 486.6 kB / 0.7723 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.01312, allocations: 245.2 kB / 0.7726 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.01316, allocations: 24 kB / 0.7726 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.01332, allocations: 111.7 kB / 0.7727 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.0134, allocations: 87.53 kB / 0.7728 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.971e-05/0.0135, allocations: 133 kB / 0.7729 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.01383, allocations: 346.7 kB / 0.7733 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01383, allocations: 0 / 0.7733 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01383, allocations: 0 / 0.7733 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.01384, allocations: 1.281 kB / 0.7733 GB, free: 9.105 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.00061/0.01445, allocations: 0.6173 MB / 0.7739 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.01448, allocations: 8.719 kB / 0.7739 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.01453, allocations: 44.89 kB / 0.7739 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.01485, allocations: 324.2 kB / 0.7742 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.01487, allocations: 17.47 kB / 0.7742 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.0149, allocations: 32.91 kB / 0.7743 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.01505, allocations: 139 kB / 0.7744 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.01506, allocations: 0.6562 kB / 0.7744 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.01507, allocations: 8 kB / 0.7744 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.01508, allocations: 4.562 kB / 0.7744 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.01514, allocations: 49 kB / 0.7745 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.01575, allocations: 460.1 kB / 0.7749 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.01596, allocations: 136 kB / 0.775 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.01599, allocations: 19.69 kB / 0.775 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.585e-05/0.01605, allocations: 15.98 kB / 0.7751 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.01607, allocations: 38.5 kB / 0.7751 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.01607, allocations: 3.25 kB / 0.7751 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001399/0.01621, allocations: 93.58 kB / 0.7752 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.01624, allocations: 55.41 kB / 0.7752 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.01645, allocations: 339.2 kB / 0.7756 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.01646, allocations: 33.7 kB / 0.7756 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.01654, allocations: 185.5 kB / 0.7758 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.01656, allocations: 43.64 kB / 0.7758 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.01662, allocations: 53.62 kB / 0.7759 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.0167, allocations: 355.3 kB / 0.7762 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.01673, allocations: 14.83 kB / 0.7762 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.01683, allocations: 230.5 kB / 0.7764 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.01691, allocations: 91.78 kB / 0.7765 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01691, allocations: 0 / 0.7765 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001303/0.01704, allocations: 135.1 kB / 0.7767 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.01705, allocations: 4 kB / 0.7767 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01705, allocations: 0.5938 kB / 0.7767 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.01707, allocations: 9.094 kB / 0.7767 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01717, allocations: 43.92 kB / 0.7767 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01717, allocations: 4 kB / 0.7767 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.01728, allocations: 25.22 kB / 0.7767 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.01729, allocations: 4 kB / 0.7767 GB, free: 5.324 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 8.397e-05/0.01738, allocations: 129.2 kB / 0.7769 GB, free: 5.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.0174, allocations: 23.97 kB / 0.7769 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.01755, allocations: 117.2 kB / 0.777 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01756, allocations: 3.938 kB / 0.777 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01756, allocations: 1.781 kB / 0.777 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.01756, allocations: 0 / 0.777 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.01792, allocations: 480.9 kB / 0.7775 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.01792, allocations: 5.031 kB / 0.7775 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.01797, allocations: 27.81 kB / 0.7775 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01797, allocations: 5.094 kB / 0.7775 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.01798, allocations: 7.984 kB / 0.7775 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01798, allocations: 0 / 0.7775 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01799, allocations: 5.203 kB / 0.7775 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.01813, allocations: 280.9 kB / 0.7778 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.01818, allocations: 47.62 kB / 0.7778 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01821, allocations: 8.906 kB / 0.7778 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.01829, allocations: 4.062 kB / 0.7778 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.0183, allocations: 17.28 kB / 0.7779 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01831, allocations: 8 kB / 0.7779 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.01841, allocations: 136.7 kB / 0.778 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01841, allocations: 1.031 kB / 0.778 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002189/0.01863, allocations: 95.83 kB / 0.7781 GB, free: 3.867 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.0001695/0.0188, allocations: 131.1 kB / 0.7782 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01892, allocations: 81.69 kB / 0.7783 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.01892, allocations: 4 kB / 0.7783 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.01896, allocations: 39.8 kB / 0.7783 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.01935, allocations: 155.8 kB / 0.7785 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/0.02029, allocations: 0.6411 MB / 0.7791 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.02034, allocations: 104.5 kB / 0.7792 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02045, allocations: 42.06 kB / 0.7792 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.02065, allocations: 156.1 kB / 0.7794 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.02065, allocations: 0 / 0.7794 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.007913/0.02857, allocations: 6.378 MB / 0.7856 GB, free: 12.37 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 -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.071859066840261]