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.001037/0.001037, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006667/0.006667, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.829/1.829, allocations: 223.3 MB / 240.3 MB, free: 5.371 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.723/2.723, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004202, allocations: 8 kB / 0.8729 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6875, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01979/0.7074, allocations: 14.82 MB / 1.038 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008079/0.7155, allocations: 4.643 MB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000894/0.7164, allocations: 15.88 kB / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.7173, allocations: 143.1 kB / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.7193, allocations: 0.5171 MB / 1.043 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.7211, allocations: 0.5173 MB / 1.043 GB, free: 11.13 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.7231, allocations: 1.243 MB / 1.044 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.7238, allocations: 273.4 kB / 1.045 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.7248, allocations: 366.3 kB / 1.045 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.7255, allocations: 306.5 kB / 1.045 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.304e-05/0.7256, allocations: 12 kB / 1.045 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.7262, allocations: 187.6 kB / 1.046 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.7264, allocations: 79.59 kB / 1.046 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.7267, allocations: 216.5 kB / 1.046 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008116/0.7276, allocations: 494.2 kB / 1.046 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7276, allocations: 0 / 1.046 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7276, allocations: 0 / 1.046 GB, free: 7.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7276, allocations: 0 / 1.046 GB, free: 7.977 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.001284/0.7289, allocations: 0.6619 MB / 1.047 GB, free: 7.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.7289, allocations: 12.03 kB / 1.047 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7291, allocations: 48.38 kB / 1.047 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.7298, allocations: 394 kB / 1.047 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.7298, allocations: 24.38 kB / 1.047 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.7299, allocations: 24 kB / 1.047 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.7303, allocations: 195.2 kB / 1.048 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7303, allocations: 4 kB / 1.048 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.7303, allocations: 8 kB / 1.048 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.7303, allocations: 11.98 kB / 1.048 GB, free: 6.508 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.7306, allocations: 129.7 kB / 1.048 GB, free: 6.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.001633/0.7322, allocations: 0.8867 MB / 1.049 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.7327, allocations: 110.6 kB / 1.049 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.7328, allocations: 52.84 kB / 1.049 GB, free: 5.25 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.7332, allocations: 332.4 kB / 1.049 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.7332, allocations: 38.5 kB / 1.049 GB, free: 4.805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.7332, allocations: 4 kB / 1.049 GB, free: 4.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003979/0.7336, allocations: 165.2 kB / 1.049 GB, free: 4.633 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.7337, allocations: 55.34 kB / 1.049 GB, free: 4.566 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.7343, allocations: 469.8 kB / 1.05 GB, free: 4.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.7344, allocations: 29.7 kB / 1.05 GB, free: 4.062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.7346, allocations: 212.3 kB / 1.05 GB, free: 3.848 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.7346, allocations: 43.39 kB / 1.05 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.7347, allocations: 33.7 kB / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7348, allocations: 350.7 kB / 1.05 GB, free: 3.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.7349, allocations: 51.97 kB / 1.05 GB, free: 3.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.7351, allocations: 105 kB / 1.051 GB, free: 3.242 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.7353, allocations: 127.3 kB / 1.051 GB, free: 3.105 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7354, allocations: 4 kB / 1.051 GB, free: 3.102 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004069/0.7358, allocations: 225 kB / 1.051 GB, free: 2.875 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7358, allocations: 6.031 kB / 1.051 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7358, allocations: 0 / 1.051 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7358, allocations: 4 kB / 1.051 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.7361, allocations: 47.91 kB / 1.051 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.7361, allocations: 0 / 1.051 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.7364, allocations: 56.59 kB / 1.051 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.7365, allocations: 4 kB / 1.051 GB, free: 2.762 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.0001757/0.7367, allocations: 157.7 kB / 1.051 GB, free: 2.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.7368, allocations: 43.44 kB / 1.051 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.7371, allocations: 186.7 kB / 1.051 GB, free: 2.371 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.7372, allocations: 7.984 kB / 1.051 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7372, allocations: 0 / 1.051 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7372, allocations: 0 / 1.051 GB, free: 2.363 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008918/0.7381, allocations: 0.6306 MB / 1.052 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.7381, allocations: 0 / 1.052 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.7382, allocations: 23.98 kB / 1.052 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.7382, allocations: 4.125 kB / 1.052 GB, free: 1.637 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7382, allocations: 8 kB / 1.052 GB, free: 1.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.7383, allocations: 7.938 kB / 1.052 GB, free: 1.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7383, allocations: 0 / 1.052 GB, free: 1.621 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.7386, allocations: 306.2 kB / 1.052 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.7388, allocations: 132.6 kB / 1.052 GB, free: 1.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.7388, allocations: 4 kB / 1.052 GB, free: 1.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.7391, allocations: 19.92 kB / 1.053 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.7391, allocations: 11.98 kB / 1.053 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.7392, allocations: 8 kB / 1.053 GB, free: 1.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004407/0.7396, allocations: 335 kB / 1.053 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7396, allocations: 0 / 1.053 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000466/0.7401, allocations: 107.8 kB / 1.053 GB, free: 0.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.0005171/0.7406, allocations: 228.4 kB / 1.053 GB, free: 456 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.7409, allocations: 131.8 kB / 1.053 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7409, allocations: 0 / 1.053 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.741, allocations: 59.91 kB / 1.053 GB, free: 264 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.7424, allocations: 203.7 kB / 1.054 GB, free: 68 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.7439, allocations: 0.788 MB / 1.054 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.7444, allocations: 0.8155 MB / 1.055 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.7447, allocations: 72.06 kB / 1.055 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.7448, allocations: 31.44 kB / 1.055 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.7448, allocations: 4 kB / 1.055 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.01545/0.7602, allocations: 7.059 MB / 1.062 GB, free: 7.391 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