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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001403/0.001403, allocations: 192.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6382, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01567/0.6539, allocations: 15.36 MB / 1.032 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.6603, allocations: 4.682 MB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006103/0.661, allocations: 15.88 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.6616, allocations: 147.1 kB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.6632, allocations: 0.5288 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.6646, allocations: 0.5115 MB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.6661, allocations: 1.239 MB / 1.039 GB, free: 12.23 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004338/0.6665, allocations: 283.1 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007449/0.6673, allocations: 382.2 kB / 1.039 GB, free: 11.58 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.6677, allocations: 310.6 kB / 1.04 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.6678, allocations: 12 kB / 1.04 GB, free: 11.26 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.6683, allocations: 191.5 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6685, allocations: 83.59 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.6687, allocations: 190.8 kB / 1.04 GB, free: 10.8 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.6693, allocations: 0.4905 MB / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6693, allocations: 0 / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6693, allocations: 4 kB / 1.04 GB, free: 10.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6693, allocations: 0 / 1.04 GB, free: 10.31 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.001158/0.6705, allocations: 0.7319 MB / 1.041 GB, free: 9.523 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6705, allocations: 8.031 kB / 1.041 GB, free: 9.516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.494e-05/0.6706, allocations: 48.38 kB / 1.041 GB, free: 9.469 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.6712, allocations: 394.1 kB / 1.042 GB, free: 9.043 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6712, allocations: 20.56 kB / 1.042 GB, free: 9.023 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.6712, allocations: 31.88 kB / 1.042 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.6716, allocations: 195.3 kB / 1.042 GB, free: 8.797 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.6716, allocations: 4 kB / 1.042 GB, free: 8.793 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.6716, allocations: 4 kB / 1.042 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6716, allocations: 4 kB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.6719, allocations: 133.7 kB / 1.042 GB, free: 8.652 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.001415/0.6733, allocations: 0.8906 MB / 1.043 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.6737, allocations: 118.6 kB / 1.043 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.6738, allocations: 48.84 kB / 1.043 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.6741, allocations: 336.4 kB / 1.043 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.6741, allocations: 30.56 kB / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.6741, allocations: 0 / 1.043 GB, free: 7.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003667/0.6745, allocations: 177.1 kB / 1.044 GB, free: 6.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6746, allocations: 51.41 kB / 1.044 GB, free: 6.828 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005165/0.6751, allocations: 461.8 kB / 1.044 GB, free: 6.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.6751, allocations: 33.7 kB / 1.044 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.6753, allocations: 216.2 kB / 1.044 GB, free: 6.109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.6753, allocations: 39.39 kB / 1.044 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.6754, allocations: 57.69 kB / 1.044 GB, free: 6.008 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6756, allocations: 346.8 kB / 1.045 GB, free: 5.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.6757, allocations: 51.97 kB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.6759, allocations: 103 kB / 1.045 GB, free: 5.492 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.6761, allocations: 139.2 kB / 1.045 GB, free: 5.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6761, allocations: 0 / 1.045 GB, free: 5.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003858/0.6765, allocations: 217 kB / 1.045 GB, free: 5.125 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.6765, allocations: 4 kB / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6766, allocations: 0 / 1.045 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6766, allocations: 4 kB / 1.045 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6768, allocations: 47.91 kB / 1.045 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6768, allocations: 4 kB / 1.045 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.6772, allocations: 39.67 kB / 1.045 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.6772, allocations: 15.98 kB / 1.045 GB, free: 5.012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.6774, allocations: 157.7 kB / 1.045 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.6774, allocations: 43.44 kB / 1.045 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.6778, allocations: 189.9 kB / 1.046 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.6778, allocations: 7.984 kB / 1.046 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6778, allocations: 3.938 kB / 1.046 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.6778, allocations: 3.984 kB / 1.046 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.6786, allocations: 0.6263 MB / 1.046 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6786, allocations: 4.281 kB / 1.046 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.6787, allocations: 23.98 kB / 1.046 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.6787, allocations: 0 / 1.046 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6787, allocations: 7.938 kB / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6788, allocations: 0 / 1.046 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6788, allocations: 11.94 kB / 1.046 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.6791, allocations: 296.4 kB / 1.047 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6792, allocations: 132.6 kB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.6793, allocations: 4 kB / 1.047 GB, free: 3.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6795, allocations: 23.88 kB / 1.047 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.6795, allocations: 19.88 kB / 1.047 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.6796, allocations: 11.98 kB / 1.047 GB, free: 3.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003708/0.6799, allocations: 323.1 kB / 1.047 GB, free: 3.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6799, allocations: 0 / 1.047 GB, free: 3.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004422/0.6804, allocations: 99.94 kB / 1.047 GB, free: 2.922 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 (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.0004538/0.6809, allocations: 223.4 kB / 1.047 GB, free: 2.703 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.6811, allocations: 127.8 kB / 1.048 GB, free: 2.578 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6812, allocations: 0 / 1.048 GB, free: 2.578 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.6813, allocations: 60.09 kB / 1.048 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6824, allocations: 208.6 kB / 1.048 GB, free: 2.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.6837, allocations: 0.773 MB / 1.049 GB, free: 1.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.6841, allocations: 0.8116 MB / 1.049 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002711/0.6844, allocations: 67.92 kB / 1.049 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.6845, allocations: 31.44 kB / 1.049 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.6845, allocations: 0 / 1.049 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of Templates: time 0.01322/0.6977, allocations: 7.077 MB / 1.056 GB, free: 9.652 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