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.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001462/0.001462, allocations: 193 kB / 16.25 MB, free: 6.629 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.671/2.671, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 0.8688 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.5647, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01767/0.5824, allocations: 15.33 MB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006669/0.5891, allocations: 4.643 MB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.5896, allocations: 19.88 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.5902, allocations: 147.1 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.5916, allocations: 0.5287 MB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.5931, allocations: 0.5139 MB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.5944, allocations: 0.9625 MB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004611/0.5948, allocations: 317.8 kB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.5955, allocations: 406.3 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.596, allocations: 322.5 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.596, allocations: 24 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.5965, allocations: 215.6 kB / 1.04 GB, free: 11.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.5966, allocations: 83.67 kB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.5969, allocations: 206.8 kB / 1.04 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006799/0.5976, allocations: 0.5021 MB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5976, allocations: 0 / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5976, allocations: 0 / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.5976, allocations: 0 / 1.04 GB, free: 10.39 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.001224/0.5988, allocations: 0.7358 MB / 1.041 GB, free: 9.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.5989, allocations: 11.97 kB / 1.041 GB, free: 9.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.599, allocations: 48.38 kB / 1.041 GB, free: 9.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.5996, allocations: 390.1 kB / 1.042 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5996, allocations: 20.56 kB / 1.042 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.5997, allocations: 28 kB / 1.042 GB, free: 9.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.6, allocations: 195.2 kB / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6, allocations: 0 / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.6001, allocations: 11.98 kB / 1.042 GB, free: 8.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.6001, allocations: 7.938 kB / 1.042 GB, free: 8.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.6003, allocations: 133.7 kB / 1.042 GB, free: 8.727 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.00153/0.6019, allocations: 0.8751 MB / 1.043 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.6024, allocations: 118.6 kB / 1.043 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.6025, allocations: 48.83 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.6028, allocations: 332.4 kB / 1.043 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6028, allocations: 38.55 kB / 1.043 GB, free: 7.156 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6028, allocations: 3.938 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.000388/0.6032, allocations: 173 kB / 1.044 GB, free: 6.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.6033, allocations: 55.41 kB / 1.044 GB, free: 6.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/0.6039, allocations: 457.9 kB / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.6039, allocations: 29.7 kB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.6041, allocations: 212.3 kB / 1.044 GB, free: 6.203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.6042, allocations: 43.3 kB / 1.044 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.6043, allocations: 53.7 kB / 1.044 GB, free: 6.102 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6045, allocations: 346.8 kB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6046, allocations: 55.97 kB / 1.045 GB, free: 5.699 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.6048, allocations: 111.3 kB / 1.045 GB, free: 5.574 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.605, allocations: 135.2 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.605, allocations: 0 / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003871/0.6054, allocations: 217 kB / 1.045 GB, free: 5.211 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.6054, allocations: 9.859 kB / 1.045 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6054, allocations: 4 kB / 1.045 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.6055, allocations: 4 kB / 1.045 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.6057, allocations: 47.92 kB / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6057, allocations: 0 / 1.045 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.6061, allocations: 39.66 kB / 1.045 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.6061, allocations: 12 kB / 1.045 GB, free: 5.098 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.0001771/0.6063, allocations: 161.7 kB / 1.045 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.6064, allocations: 39.44 kB / 1.045 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.6068, allocations: 189.8 kB / 1.046 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.6068, allocations: 4 kB / 1.046 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.6068, allocations: 0 / 1.046 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6068, allocations: 0 / 1.046 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.6076, allocations: 0.6303 MB / 1.046 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.6076, allocations: 7.938 kB / 1.046 GB, free: 3.992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.6078, allocations: 23.98 kB / 1.046 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6078, allocations: 0 / 1.046 GB, free: 3.969 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6078, allocations: 4 kB / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6078, allocations: 0 / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.6078, allocations: 7.938 kB / 1.046 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.6082, allocations: 298.4 kB / 1.047 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.6083, allocations: 132.6 kB / 1.047 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.6084, allocations: 4.281 kB / 1.047 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.6087, allocations: 19.98 kB / 1.047 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.6087, allocations: 15.92 kB / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.6087, allocations: 11.94 kB / 1.047 GB, free: 3.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004144/0.6091, allocations: 323.1 kB / 1.047 GB, free: 3.121 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6091, allocations: 0 / 1.047 GB, free: 3.121 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004414/0.6096, allocations: 107.8 kB / 1.047 GB, free: 3.016 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.000459/0.6101, allocations: 231.8 kB / 1.047 GB, free: 2.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.6104, allocations: 139.8 kB / 1.048 GB, free: 2.656 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6104, allocations: 4 kB / 1.048 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6105, allocations: 59.91 kB / 1.048 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6115, allocations: 177 kB / 1.048 GB, free: 2.426 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.613, allocations: 0.7713 MB / 1.049 GB, free: 1.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.6134, allocations: 0.8113 MB / 1.049 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002556/0.6137, allocations: 70.38 kB / 1.049 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.6138, allocations: 31.44 kB / 1.049 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of SimCode: time 5.51e-07/0.6138, allocations: 0 / 1.049 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of Templates: time 0.01465/0.6284, allocations: 7.131 MB / 1.056 GB, free: 9.715 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=400 -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