Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009979/0.0009979, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 15.98 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9347/0.9351, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0154/0.9506, allocations: 12.98 MB / 1.034 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006797/0.9574, allocations: 3.984 MB / 1.037 GB, free: 84 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.9582, allocations: 11.88 kB / 1.037 GB, free: 72 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008256/0.959, allocations: 187.1 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.9611, allocations: 0.5958 MB / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.9632, allocations: 0.6596 MB / 1.039 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.9644, allocations: 0.5858 MB / 1.039 GB, free: 14.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.9649, allocations: 248 kB / 1.04 GB, free: 13.81 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.9655, allocations: 338.8 kB / 1.04 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.9659, allocations: 219.1 kB / 1.04 GB, free: 13.26 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.9659, allocations: 15.94 kB / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.9665, allocations: 151.8 kB / 1.04 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.9666, allocations: 71.66 kB / 1.04 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.9667, allocations: 101.5 kB / 1.04 GB, free: 12.92 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.9672, allocations: 347.1 kB / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9672, allocations: 0 / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9672, allocations: 0 / 1.041 GB, free: 12.58 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.9672, allocations: 0 / 1.041 GB, free: 12.58 MB / 0.795 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.001206/0.9684, allocations: 0.6695 MB / 1.041 GB, free: 11.86 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.9685, allocations: 15.98 kB / 1.041 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.9686, allocations: 47.44 kB / 1.042 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.9692, allocations: 381.1 kB / 1.042 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.9692, allocations: 16.44 kB / 1.042 GB, free: 11.37 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.9693, allocations: 31.95 kB / 1.042 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.9696, allocations: 191.2 kB / 1.042 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9696, allocations: 4 kB / 1.042 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.9697, allocations: 8 kB / 1.042 GB, free: 11.13 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.9697, allocations: 8 kB / 1.042 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.9699, allocations: 129.7 kB / 1.042 GB, free: 11 MB / 0.795 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.001535/0.9715, allocations: 0.8713 MB / 1.043 GB, free: 10.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/0.9719, allocations: 114.6 kB / 1.043 GB, free: 9.93 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.9722, allocations: 332.4 kB / 1.044 GB, free: 9.531 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.9723, allocations: 42.5 kB / 1.044 GB, free: 9.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.9723, allocations: 0 / 1.044 GB, free: 9.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003626/0.9726, allocations: 177.6 kB / 1.044 GB, free: 9.301 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.9727, allocations: 51.41 kB / 1.044 GB, free: 9.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.9732, allocations: 465.8 kB / 1.044 GB, free: 8.777 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.9733, allocations: 25.7 kB / 1.044 GB, free: 8.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.9735, allocations: 208.3 kB / 1.044 GB, free: 8.535 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.9735, allocations: 51.38 kB / 1.045 GB, free: 8.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.9735, allocations: 0 / 1.045 GB, free: 8.484 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.9737, allocations: 350.8 kB / 1.045 GB, free: 8.133 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.9738, allocations: 51.97 kB / 1.045 GB, free: 8.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.9739, allocations: 109 kB / 1.045 GB, free: 7.957 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.9741, allocations: 59.92 kB / 1.045 GB, free: 7.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9741, allocations: 4 kB / 1.045 GB, free: 7.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003385/0.9744, allocations: 217 kB / 1.045 GB, free: 7.676 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.9744, allocations: 9.562 kB / 1.045 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.9745, allocations: 0 / 1.045 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.9745, allocations: 11.89 kB / 1.045 GB, free: 7.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.9747, allocations: 47.97 kB / 1.045 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.9747, allocations: 0 / 1.045 GB, free: 7.609 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.9751, allocations: 46.55 kB / 1.045 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.9751, allocations: 11.98 kB / 1.045 GB, free: 7.555 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.9753, allocations: 153.8 kB / 1.046 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.9753, allocations: 43.44 kB / 1.046 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.9757, allocations: 190.5 kB / 1.046 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.9757, allocations: 4 kB / 1.046 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9757, allocations: 3.953 kB / 1.046 GB, free: 7.156 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.9757, allocations: 7.984 kB / 1.046 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.9766, allocations: 0.6148 MB / 1.046 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9766, allocations: 4 kB / 1.046 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.9767, allocations: 23.95 kB / 1.046 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.9767, allocations: 0 / 1.046 GB, free: 6.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.9767, allocations: 7.984 kB / 1.046 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.9767, allocations: 8.062 kB / 1.046 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9767, allocations: 4 kB / 1.046 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.9771, allocations: 337.2 kB / 1.047 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.9772, allocations: 140.6 kB / 1.047 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.9773, allocations: 4.344 kB / 1.047 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.9775, allocations: 23.89 kB / 1.047 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.9776, allocations: 23.88 kB / 1.047 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.9776, allocations: 7.938 kB / 1.047 GB, free: 5.82 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000411/0.978, allocations: 323.1 kB / 1.047 GB, free: 5.508 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.978, allocations: 0 / 1.047 GB, free: 5.508 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004449/0.9785, allocations: 103.9 kB / 1.047 GB, free: 5.406 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004892/0.979, allocations: 211.9 kB / 1.048 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.9792, allocations: 131.8 kB / 1.048 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9792, allocations: 0 / 1.048 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.9793, allocations: 64.16 kB / 1.048 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.9805, allocations: 200.7 kB / 1.048 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.982, allocations: 0.778 MB / 1.049 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.9826, allocations: 0.8197 MB / 1.049 GB, free: 3.148 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00029/0.9829, allocations: 65.25 kB / 1.05 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.983, allocations: 35.44 kB / 1.05 GB, free: 3.051 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/0.983, allocations: 0 / 1.05 GB, free: 3.051 MB / 0.795 GB Notification: Performance of Templates: time 0.01399/0.997, allocations: 6.84 MB / 1.056 GB, free: 12.36 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches