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.001895/0.001895, allocations: 108 kB / 15.6 MB, free: 132 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.001974/0.001974, allocations: 191.2 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.717/2.717, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.89 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5992, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01873/0.6179, allocations: 15.4 MB / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006985/0.6249, allocations: 4.685 MB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.6255, allocations: 15.88 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.6261, allocations: 190.6 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.6276, allocations: 0.5673 MB / 1.038 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.6291, allocations: 0.5571 MB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.6304, allocations: 0.947 MB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005418/0.631, allocations: 329.8 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.6317, allocations: 402.3 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.6322, allocations: 306.6 kB / 1.04 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.6322, allocations: 24 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.6328, allocations: 219.6 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.6329, allocations: 87.61 kB / 1.04 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.6331, allocations: 194.9 kB / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.6338, allocations: 0.5022 MB / 1.041 GB, free: 10 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6339, allocations: 3.938 kB / 1.041 GB, free: 9.996 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6339, allocations: 0 / 1.041 GB, free: 9.996 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.6339, allocations: 0 / 1.041 GB, free: 9.996 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.001211/0.6351, allocations: 0.7358 MB / 1.042 GB, free: 9.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6351, allocations: 8.031 kB / 1.042 GB, free: 9.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.6352, allocations: 48.38 kB / 1.042 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.6358, allocations: 382.1 kB / 1.042 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.6359, allocations: 24.56 kB / 1.042 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.6359, allocations: 24 kB / 1.042 GB, free: 8.691 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.6363, allocations: 191.3 kB / 1.043 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6363, allocations: 0 / 1.043 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.6364, allocations: 16 kB / 1.043 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6364, allocations: 11.88 kB / 1.043 GB, free: 8.469 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.6366, allocations: 133.7 kB / 1.043 GB, free: 8.34 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.001587/0.6382, allocations: 0.8829 MB / 1.044 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.6387, allocations: 114.6 kB / 1.044 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.6388, allocations: 52.83 kB / 1.044 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.6391, allocations: 332.4 kB / 1.044 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6392, allocations: 34.55 kB / 1.044 GB, free: 6.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.6392, allocations: 7.938 kB / 1.044 GB, free: 6.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004183/0.6396, allocations: 177 kB / 1.044 GB, free: 6.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.6397, allocations: 55.41 kB / 1.044 GB, free: 6.512 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.6403, allocations: 457.9 kB / 1.045 GB, free: 6.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.6403, allocations: 33.7 kB / 1.045 GB, free: 6.016 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.6405, allocations: 204.3 kB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.6405, allocations: 51.3 kB / 1.045 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.6406, allocations: 53.7 kB / 1.045 GB, free: 5.699 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6408, allocations: 346.8 kB / 1.045 GB, free: 5.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.6409, allocations: 51.97 kB / 1.045 GB, free: 5.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.6411, allocations: 105 kB / 1.046 GB, free: 5.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.6413, allocations: 131.3 kB / 1.046 GB, free: 5.039 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6414, allocations: 8.062 kB / 1.046 GB, free: 5.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003906/0.6418, allocations: 221.1 kB / 1.046 GB, free: 4.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6418, allocations: 8 kB / 1.046 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6418, allocations: 3.984 kB / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6418, allocations: 0 / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.642, allocations: 43.92 kB / 1.046 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.642, allocations: 4 kB / 1.046 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.6424, allocations: 35.67 kB / 1.046 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.6424, allocations: 7.984 kB / 1.046 GB, free: 4.707 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.0001665/0.6426, allocations: 161.7 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.6426, allocations: 43.44 kB / 1.046 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.643, allocations: 186.5 kB / 1.046 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.643, allocations: 4.078 kB / 1.046 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.643, allocations: 0 / 1.046 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.643, allocations: 3.984 kB / 1.046 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008538/0.6439, allocations: 0.6302 MB / 1.047 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.6439, allocations: 3.938 kB / 1.047 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.644, allocations: 23.98 kB / 1.047 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.644, allocations: 4 kB / 1.047 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6441, allocations: 4 kB / 1.047 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6441, allocations: 4 kB / 1.047 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6441, allocations: 8.062 kB / 1.047 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.6444, allocations: 299 kB / 1.047 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6446, allocations: 124.6 kB / 1.047 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.6446, allocations: 4 kB / 1.047 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.6449, allocations: 19.98 kB / 1.047 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.6449, allocations: 11.92 kB / 1.047 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6449, allocations: 4 kB / 1.047 GB, free: 3.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004135/0.6453, allocations: 323.1 kB / 1.048 GB, free: 2.746 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6453, allocations: 0 / 1.048 GB, free: 2.746 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000466/0.6458, allocations: 111.8 kB / 1.048 GB, free: 2.637 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.0004681/0.6463, allocations: 221.6 kB / 1.048 GB, free: 2.422 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.6466, allocations: 143.7 kB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6466, allocations: 0 / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.6467, allocations: 63.91 kB / 1.048 GB, free: 2.219 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6478, allocations: 177.2 kB / 1.048 GB, free: 2.051 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.6492, allocations: 0.666 MB / 1.049 GB, free: 1.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.6497, allocations: 0.8074 MB / 1.05 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000252/0.65, allocations: 68.77 kB / 1.05 GB, free: 460 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.6501, allocations: 35.44 kB / 1.05 GB, free: 424 kB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.6501, allocations: 0 / 1.05 GB, free: 424 kB / 0.795 GB Notification: Performance of Templates: time 0.01472/0.6648, allocations: 7.163 MB / 1.057 GB, free: 9.418 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