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.001372/0.001372, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 196 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.514/2.514, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 59.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6423, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01719/0.6595, allocations: 15.4 MB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006391/0.6659, allocations: 4.675 MB / 1.037 GB, free: 14.37 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/0.6666, allocations: 15.88 kB / 1.037 GB, free: 14.36 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.6673, allocations: 190.6 kB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.6687, allocations: 0.5634 MB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.6702, allocations: 0.5666 MB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.6713, allocations: 0.9626 MB / 1.039 GB, free: 12.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.6717, allocations: 313.8 kB / 1.039 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006309/0.6724, allocations: 406.4 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.6728, allocations: 314.5 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.6729, allocations: 24 kB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.6734, allocations: 211.6 kB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.6735, allocations: 87.61 kB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.6737, allocations: 202.8 kB / 1.041 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.6743, allocations: 0.4983 MB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6743, allocations: 4 kB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6743, allocations: 3.938 kB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.6743, allocations: 0 / 1.041 GB, free: 10.03 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.001109/0.6754, allocations: 0.73 MB / 1.042 GB, free: 9.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.6755, allocations: 12.03 kB / 1.042 GB, free: 9.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/0.6756, allocations: 48.38 kB / 1.042 GB, free: 9.191 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.6761, allocations: 394 kB / 1.042 GB, free: 8.766 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.6761, allocations: 24.56 kB / 1.042 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.6762, allocations: 24 kB / 1.042 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.6765, allocations: 191.3 kB / 1.042 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6765, allocations: 0 / 1.042 GB, free: 8.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6765, allocations: 7.938 kB / 1.042 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.6766, allocations: 8 kB / 1.043 GB, free: 8.512 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.6768, allocations: 129.7 kB / 1.043 GB, free: 8.383 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.001419/0.6782, allocations: 0.8907 MB / 1.044 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.6787, allocations: 118.6 kB / 1.044 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.6788, allocations: 48.84 kB / 1.044 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000342/0.6792, allocations: 336.4 kB / 1.044 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.6792, allocations: 34.56 kB / 1.044 GB, free: 6.797 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.6792, allocations: 0 / 1.044 GB, free: 6.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004217/0.6796, allocations: 173 kB / 1.044 GB, free: 6.621 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.6797, allocations: 59.34 kB / 1.044 GB, free: 6.551 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.6803, allocations: 457.9 kB / 1.045 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.6803, allocations: 33.7 kB / 1.045 GB, free: 6.055 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.6805, allocations: 208.3 kB / 1.045 GB, free: 5.844 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.6805, allocations: 43.3 kB / 1.045 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.6806, allocations: 53.7 kB / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.6808, allocations: 350.8 kB / 1.045 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.6809, allocations: 47.98 kB / 1.045 GB, free: 5.344 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6811, allocations: 111.1 kB / 1.045 GB, free: 5.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6813, allocations: 135.2 kB / 1.046 GB, free: 5.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6813, allocations: 0 / 1.046 GB, free: 5.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003695/0.6817, allocations: 217 kB / 1.046 GB, free: 4.855 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.6817, allocations: 4 kB / 1.046 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6817, allocations: 4 kB / 1.046 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6817, allocations: 4.031 kB / 1.046 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.682, allocations: 43.98 kB / 1.046 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.682, allocations: 4 kB / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.6823, allocations: 39.64 kB / 1.046 GB, free: 4.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.6823, allocations: 12 kB / 1.046 GB, free: 4.746 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.0001607/0.6825, allocations: 157.7 kB / 1.046 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-05/0.6826, allocations: 43.44 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.683, allocations: 193.9 kB / 1.046 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.683, allocations: 4 kB / 1.046 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.683, allocations: 0 / 1.046 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.683, allocations: 0 / 1.046 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/0.6838, allocations: 0.6263 MB / 1.047 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6839, allocations: 4.469 kB / 1.047 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.684, allocations: 27.98 kB / 1.047 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.684, allocations: 0 / 1.047 GB, free: 3.617 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.684, allocations: 7.938 kB / 1.047 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.684, allocations: 3.938 kB / 1.047 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.684, allocations: 7.938 kB / 1.047 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.6844, allocations: 299.9 kB / 1.047 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6845, allocations: 124.6 kB / 1.047 GB, free: 3.137 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.6846, allocations: 11.98 kB / 1.047 GB, free: 3.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6848, allocations: 7.984 kB / 1.047 GB, free: 3.117 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.6848, allocations: 19.88 kB / 1.047 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.6849, allocations: 7.984 kB / 1.047 GB, free: 3.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004017/0.6853, allocations: 327.1 kB / 1.048 GB, free: 2.773 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6853, allocations: 0 / 1.048 GB, free: 2.773 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004562/0.6857, allocations: 107.8 kB / 1.048 GB, free: 2.668 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.000537/0.6863, allocations: 217.8 kB / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.6866, allocations: 135.8 kB / 1.048 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6866, allocations: 0 / 1.048 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6868, allocations: 63.86 kB / 1.048 GB, free: 2.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6878, allocations: 184.1 kB / 1.048 GB, free: 2.086 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.6891, allocations: 0.6543 MB / 1.049 GB, free: 1.387 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.6895, allocations: 0.8114 MB / 1.05 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002376/0.6897, allocations: 69.81 kB / 1.05 GB, free: 500 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.6898, allocations: 31.42 kB / 1.05 GB, free: 468 kB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.6898, allocations: 0 / 1.05 GB, free: 468 kB / 0.795 GB Notification: Performance of Templates: time 0.01254/0.7024, allocations: 7.168 MB / 1.057 GB, free: 9.457 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