Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009926/0.0009928, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0009985/0.0009986, allocations: 172.7 kB / 15.95 MB, free: 208 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.842/2.842, allocations: 437.7 MB / 0.7117 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8082, allocations: 153.8 MB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01623/0.8244, allocations: 14.1 MB / 1.036 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007065/0.8316, allocations: 4.373 MB / 1.04 GB, free: 13.58 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.8323, allocations: 15.88 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006275/0.833, allocations: 143.1 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.8345, allocations: 465.5 kB / 1.041 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.8361, allocations: 494.2 kB / 1.042 GB, free: 12.49 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.8376, allocations: 1.064 MB / 1.043 GB, free: 11.42 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004512/0.8381, allocations: 245.4 kB / 1.043 GB, free: 11.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.8388, allocations: 366.3 kB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.8392, allocations: 278.7 kB / 1.043 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.8393, allocations: 16 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.8398, allocations: 147.6 kB / 1.044 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.8399, allocations: 63.67 kB / 1.044 GB, free: 10.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.84, allocations: 109.5 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.8405, allocations: 339.1 kB / 1.044 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8405, allocations: 0 / 1.044 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8405, allocations: 0 / 1.044 GB, free: 9.879 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.8405, allocations: 0 / 1.044 GB, free: 9.879 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.001184/0.8417, allocations: 0.6734 MB / 1.045 GB, free: 9.152 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8418, allocations: 12.02 kB / 1.045 GB, free: 9.141 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.8419, allocations: 51.44 kB / 1.045 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.8425, allocations: 377.1 kB / 1.045 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.8425, allocations: 20.44 kB / 1.045 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.8426, allocations: 27.95 kB / 1.045 GB, free: 8.633 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.8429, allocations: 191.3 kB / 1.045 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.843, allocations: 7.938 kB / 1.045 GB, free: 8.434 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.843, allocations: 8 kB / 1.045 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.843, allocations: 8 kB / 1.045 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.8432, allocations: 129.7 kB / 1.045 GB, free: 8.293 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.001502/0.8448, allocations: 0.879 MB / 1.046 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.8452, allocations: 110.6 kB / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.8453, allocations: 48.83 kB / 1.047 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.8456, allocations: 340.4 kB / 1.047 GB, free: 6.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.8457, allocations: 38.48 kB / 1.047 GB, free: 6.719 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.8457, allocations: 4 kB / 1.047 GB, free: 6.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003943/0.8461, allocations: 173.1 kB / 1.047 GB, free: 6.539 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.8461, allocations: 51.41 kB / 1.047 GB, free: 6.477 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.8467, allocations: 465.8 kB / 1.048 GB, free: 6.012 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.8468, allocations: 25.7 kB / 1.048 GB, free: 5.98 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.847, allocations: 212.3 kB / 1.048 GB, free: 5.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.847, allocations: 43.39 kB / 1.048 GB, free: 5.723 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.847, allocations: 4 kB / 1.048 GB, free: 5.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.8472, allocations: 350.8 kB / 1.048 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.8473, allocations: 43.98 kB / 1.048 GB, free: 5.324 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.8475, allocations: 111.5 kB / 1.048 GB, free: 5.199 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.8476, allocations: 55.98 kB / 1.048 GB, free: 5.145 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8476, allocations: 4 kB / 1.048 GB, free: 5.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000351/0.848, allocations: 217.1 kB / 1.049 GB, free: 4.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.848, allocations: 8.094 kB / 1.049 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.848, allocations: 7.875 kB / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.848, allocations: 7.953 kB / 1.049 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.8482, allocations: 43.92 kB / 1.049 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8483, allocations: 4 kB / 1.049 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.8486, allocations: 49.91 kB / 1.049 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.8486, allocations: 8 kB / 1.049 GB, free: 4.797 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.0001644/0.8488, allocations: 153.8 kB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.646e-05/0.8489, allocations: 43.42 kB / 1.049 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.8492, allocations: 188.9 kB / 1.049 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.8493, allocations: 7.953 kB / 1.049 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.8493, allocations: 4 kB / 1.049 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8493, allocations: 0 / 1.049 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.8501, allocations: 0.6147 MB / 1.05 GB, free: 3.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.8501, allocations: 3.953 kB / 1.05 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8502, allocations: 23.98 kB / 1.05 GB, free: 3.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.8502, allocations: 8.125 kB / 1.05 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.8503, allocations: 4 kB / 1.05 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.8503, allocations: 11.92 kB / 1.05 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8503, allocations: 0 / 1.05 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.8506, allocations: 300.1 kB / 1.05 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.8508, allocations: 144.4 kB / 1.05 GB, free: 3.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.8508, allocations: 12.06 kB / 1.05 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.8511, allocations: 19.97 kB / 1.05 GB, free: 3.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.8511, allocations: 11.92 kB / 1.05 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.8511, allocations: 16 kB / 1.05 GB, free: 3.121 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003988/0.8516, allocations: 319.1 kB / 1.05 GB, free: 2.809 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8516, allocations: 0 / 1.05 GB, free: 2.809 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004337/0.852, allocations: 99.94 kB / 1.051 GB, free: 2.711 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.0004736/0.8525, allocations: 207.1 kB / 1.051 GB, free: 2.512 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.8528, allocations: 143.9 kB / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8528, allocations: 0 / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.8529, allocations: 59.92 kB / 1.051 GB, free: 2.312 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.854, allocations: 203.9 kB / 1.051 GB, free: 2.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.8556, allocations: 0.7779 MB / 1.052 GB, free: 1.293 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.8561, allocations: 0.8116 MB / 1.053 GB, free: 468 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003185/0.8565, allocations: 61.59 kB / 1.053 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.475e-05/0.8566, allocations: 39.98 kB / 1.053 GB, free: 368 kB / 0.795 GB Notification: Performance of SimCode: time 1.784e-06/0.8566, allocations: 0 / 1.053 GB, free: 368 kB / 0.795 GB Notification: Performance of Templates: time 0.01525/0.8718, allocations: 6.846 MB / 1.06 GB, free: 9.66 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches