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.001643/0.001643, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.002081/0.002081, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.703/1.703, allocations: 359 MB / 0.6052 GB, free: 10.98 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.583e-06/1.583e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.464e-05, allocations: 3.688 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.006726/0.006751, allocations: 7.326 MB / 0.7943 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00335/0.0101, allocations: 2.599 MB / 0.7968 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.01065, allocations: 19.81 kB / 0.7968 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.01119, allocations: 126.5 kB / 0.7969 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008974/0.01209, allocations: 411.9 kB / 0.7973 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.01325, allocations: 0.5946 MB / 0.7979 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.01455, allocations: 0.9541 MB / 0.7988 GB, free: 464 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.01499, allocations: 270.7 kB / 0.7991 GB, free: 192 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.01575, allocations: 0.5024 MB / 0.7996 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.01611, allocations: 268.3 kB / 0.7998 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.01616, allocations: 24 kB / 0.7999 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.01641, allocations: 105.6 kB / 0.8 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.349e-05/0.0165, allocations: 91.53 kB / 0.8001 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.01663, allocations: 131.6 kB / 0.8002 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.01712, allocations: 358.6 kB / 0.8005 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.01713, allocations: 2.812 kB / 0.8005 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01713, allocations: 4 kB / 0.8005 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.01714, allocations: 0 / 0.8005 GB, free: 14.72 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.001064/0.0182, allocations: 0.7509 MB / 0.8013 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.01824, allocations: 12.03 kB / 0.8013 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.01836, allocations: 64.61 kB / 0.8013 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.01883, allocations: 353.1 kB / 0.8017 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.01885, allocations: 20.88 kB / 0.8017 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.01888, allocations: 24.38 kB / 0.8017 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.01909, allocations: 145.3 kB / 0.8019 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.0191, allocations: 3.938 kB / 0.8019 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.01912, allocations: 8 kB / 0.8019 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.01913, allocations: 4.594 kB / 0.8019 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.01924, allocations: 67.45 kB / 0.8019 GB, free: 13.23 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.0009601/0.0202, allocations: 0.6816 MB / 0.8026 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.02049, allocations: 104.4 kB / 0.8027 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.02053, allocations: 31.66 kB / 0.8027 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.02063, allocations: 15.98 kB / 0.8027 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02065, allocations: 49.27 kB / 0.8028 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.02066, allocations: 0 / 0.8028 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0002388/0.0209, allocations: 125.4 kB / 0.8029 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.02093, allocations: 51.41 kB / 0.803 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.02121, allocations: 414.6 kB / 0.8034 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02123, allocations: 33.64 kB / 0.8034 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.02136, allocations: 263.3 kB / 0.8036 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.02139, allocations: 51.64 kB / 0.8037 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.02145, allocations: 63.3 kB / 0.8037 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.02158, allocations: 0.5118 MB / 0.8042 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.02163, allocations: 23.98 kB / 0.8043 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.02177, allocations: 251.3 kB / 0.8045 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.02189, allocations: 102.7 kB / 0.8046 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02189, allocations: 0 / 0.8046 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002019/0.02209, allocations: 165.3 kB / 0.8048 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.02211, allocations: 7.938 kB / 0.8048 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.02211, allocations: 4 kB / 0.8048 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.02213, allocations: 4 kB / 0.8048 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.02225, allocations: 47.91 kB / 0.8048 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.02226, allocations: 0 / 0.8048 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.02239, allocations: 27.78 kB / 0.8049 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.02241, allocations: 15.98 kB / 0.8049 GB, free: 10.01 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 0.0001011/0.02251, allocations: 164.5 kB / 0.805 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.02256, allocations: 47.7 kB / 0.8051 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.02277, allocations: 133.2 kB / 0.8052 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.02278, allocations: 11.98 kB / 0.8052 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.02278, allocations: 0 / 0.8052 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02279, allocations: 0 / 0.8052 GB, free: 9.645 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.02324, allocations: 0.5582 MB / 0.8058 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02325, allocations: 0 / 0.8058 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.02331, allocations: 23.98 kB / 0.8058 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.02332, allocations: 4 kB / 0.8058 GB, free: 9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.02333, allocations: 4 kB / 0.8058 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.02333, allocations: 4.125 kB / 0.8058 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02333, allocations: 4 kB / 0.8058 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.02352, allocations: 325.2 kB / 0.8061 GB, free: 8.637 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.02358, allocations: 51.73 kB / 0.8062 GB, free: 8.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.02361, allocations: 4.062 kB / 0.8062 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.0237, allocations: 4 kB / 0.8062 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.02372, allocations: 16.08 kB / 0.8062 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.02373, allocations: 4 kB / 0.8062 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001732/0.0239, allocations: 287 kB / 0.8065 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.0239, allocations: 0 / 0.8065 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002749/0.02418, allocations: 103.7 kB / 0.8066 GB, free: 8.18 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.0002195/0.0244, allocations: 151 kB / 0.8067 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.02459, allocations: 103.9 kB / 0.8068 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02459, allocations: 4 kB / 0.8068 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-05/0.02464, allocations: 47.61 kB / 0.8068 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.02513, allocations: 144.6 kB / 0.807 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.02627, allocations: 0.6547 MB / 0.8076 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.02633, allocations: 108.6 kB / 0.8077 GB, free: 6.898 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002963/0.02663, allocations: 53.38 kB / 0.8078 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.02668, allocations: 32.48 kB / 0.8078 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.02668, allocations: 0 / 0.8078 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of Templates: time 0.008957/0.03564, allocations: 6.489 MB / 0.8141 GB, free: 0.5859 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: 5.0084461299702525]