Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001445/0.001445, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001745/0.001745, allocations: 185 kB / 24.09 MB, free: 416 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.9035/0.9035, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.744/1.744, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.11e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01014/0.01017, allocations: 7.214 MB / 0.7946 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004959/0.01513, allocations: 2.582 MB / 0.7971 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.01577, allocations: 19.81 kB / 0.7972 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.01633, allocations: 123 kB / 0.7973 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.01759, allocations: 405.8 kB / 0.7977 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.01935, allocations: 0.5949 MB / 0.7982 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.02074, allocations: 0.9626 MB / 0.7992 GB, free: 308 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.02125, allocations: 266.3 kB / 0.7994 GB, free: 40 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.02233, allocations: 0.4994 MB / 0.7999 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.02282, allocations: 275 kB / 0.8002 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.181e-05/0.02289, allocations: 24 kB / 0.8002 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002894/0.02318, allocations: 107.8 kB / 0.8003 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.02326, allocations: 87.55 kB / 0.8004 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.02336, allocations: 131.6 kB / 0.8005 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.02374, allocations: 354.6 kB / 0.8009 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.02375, allocations: 3.984 kB / 0.8009 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02375, allocations: 0 / 0.8009 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.02375, allocations: 0 / 0.8009 GB, free: 14.58 MB / 0.7605 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.000716/0.02447, allocations: 0.762 MB / 0.8016 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.02451, allocations: 13.12 kB / 0.8016 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.02458, allocations: 64.61 kB / 0.8017 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.02492, allocations: 344.2 kB / 0.802 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.02494, allocations: 20.88 kB / 0.802 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.02496, allocations: 24.38 kB / 0.802 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.02511, allocations: 132.2 kB / 0.8022 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.02512, allocations: 0 / 0.8022 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.02513, allocations: 8 kB / 0.8022 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.02513, allocations: 4 kB / 0.8022 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.392e-05/0.0252, allocations: 55.39 kB / 0.8022 GB, free: 13.11 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.02594, allocations: 0.6279 MB / 0.8029 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.02616, allocations: 87.12 kB / 0.8029 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.02619, allocations: 27.67 kB / 0.803 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.02626, allocations: 21.61 kB / 0.803 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.02628, allocations: 41.39 kB / 0.803 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.02629, allocations: 0 / 0.803 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0001745/0.02646, allocations: 121.2 kB / 0.8031 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.02648, allocations: 59.41 kB / 0.8032 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.02672, allocations: 410.4 kB / 0.8036 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.02674, allocations: 29.7 kB / 0.8036 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.02685, allocations: 271.3 kB / 0.8039 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.02687, allocations: 39.64 kB / 0.8039 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.02693, allocations: 63.28 kB / 0.804 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.02705, allocations: 0.5235 MB / 0.8045 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.02708, allocations: 15.98 kB / 0.8045 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.02719, allocations: 246.2 kB / 0.8047 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.02728, allocations: 94.59 kB / 0.8048 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.02728, allocations: 0 / 0.8048 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001655/0.02745, allocations: 161.3 kB / 0.805 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.02746, allocations: 9.5 kB / 0.805 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02747, allocations: 7.922 kB / 0.805 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.02748, allocations: 4 kB / 0.805 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.02759, allocations: 43.92 kB / 0.805 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.0276, allocations: 0 / 0.805 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.02771, allocations: 31.77 kB / 0.8051 GB, free: 10 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.02773, allocations: 8 kB / 0.8051 GB, free: 9.996 MB / 0.7605 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.71e-05/0.02782, allocations: 168.5 kB / 0.8052 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.02785, allocations: 39.77 kB / 0.8053 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.02803, allocations: 145.5 kB / 0.8054 GB, free: 9.637 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.02803, allocations: 4 kB / 0.8054 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02804, allocations: 96 / 0.8054 GB, free: 9.633 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.02804, allocations: 3.984 kB / 0.8054 GB, free: 9.629 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.02843, allocations: 492.3 kB / 0.8059 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.02844, allocations: 11.88 kB / 0.8059 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.0285, allocations: 24.11 kB / 0.8059 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.0285, allocations: 4 kB / 0.8059 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.02851, allocations: 4 kB / 0.8059 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.02851, allocations: 0 / 0.8059 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.02851, allocations: 0 / 0.8059 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.02869, allocations: 322.2 kB / 0.8062 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.02875, allocations: 51.67 kB / 0.8063 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.02877, allocations: 7.984 kB / 0.8063 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.02886, allocations: 12.06 kB / 0.8063 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.02887, allocations: 7.984 kB / 0.8063 GB, free: 8.625 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.02888, allocations: 8 kB / 0.8063 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001307/0.02901, allocations: 267 kB / 0.8066 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02901, allocations: 0 / 0.8066 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000249/0.02926, allocations: 95.78 kB / 0.8067 GB, free: 8.262 MB / 0.7605 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.000192/0.02945, allocations: 155 kB / 0.8068 GB, free: 8.102 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.02959, allocations: 83.52 kB / 0.8069 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02959, allocations: 0 / 0.8069 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.02963, allocations: 47.59 kB / 0.8069 GB, free: 7.965 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.03008, allocations: 150.9 kB / 0.8071 GB, free: 7.816 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009967/0.03108, allocations: 0.6509 MB / 0.8077 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.03114, allocations: 104.6 kB / 0.8078 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.03126, allocations: 43.14 kB / 0.8079 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.03148, allocations: 186.1 kB / 0.808 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of SimCode: time 8.42e-07/0.03148, allocations: 0 / 0.808 GB, free: 6.766 MB / 0.7605 GB Notification: Performance of Templates: time 0.009142/0.04063, allocations: 6.44 MB / 0.8143 GB, free: 0.5273 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.863654213026166]