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.001332/0.001332, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001245/0.001244, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.48/2.48, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 64.42 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3044, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.0189/0.3234, allocations: 15.4 MB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007518/0.331, allocations: 4.673 MB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007635/0.3318, allocations: 19.88 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.3325, allocations: 190.6 kB / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.3343, allocations: 0.5747 MB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.336, allocations: 0.5627 MB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3373, allocations: 0.9509 MB / 1.04 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.3379, allocations: 324.1 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.3387, allocations: 402.4 kB / 1.041 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004585/0.3391, allocations: 306.5 kB / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.598e-05/0.3392, allocations: 24 kB / 1.041 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005605/0.3398, allocations: 223.6 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3399, allocations: 79.62 kB / 1.041 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3401, allocations: 202.8 kB / 1.041 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007604/0.3409, allocations: 0.4983 MB / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3409, allocations: 0 / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3409, allocations: 0 / 1.042 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.3409, allocations: 0 / 1.042 GB, free: 2.117 MB / 0.8106 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.001267/0.3422, allocations: 0.7357 MB / 1.043 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3423, allocations: 8.922 kB / 1.043 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3424, allocations: 56.3 kB / 1.043 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.343, allocations: 390 kB / 1.043 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.343, allocations: 24.56 kB / 1.043 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.3431, allocations: 27.94 kB / 1.043 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.3434, allocations: 195.2 kB / 1.043 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3435, allocations: 4 kB / 1.043 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3435, allocations: 12 kB / 1.043 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3435, allocations: 4 kB / 1.043 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.3437, allocations: 129.7 kB / 1.043 GB, free: 464 kB / 0.8106 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.001572/0.3453, allocations: 0.879 MB / 1.044 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.3458, allocations: 118.6 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.8e-05/0.3459, allocations: 56.83 kB / 1.044 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/0.3462, allocations: 336.4 kB / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3463, allocations: 38.55 kB / 1.045 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.3463, allocations: 0 / 1.045 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.000399/0.3467, allocations: 169.1 kB / 1.045 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3468, allocations: 59.41 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.3474, allocations: 453.8 kB / 1.045 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.3474, allocations: 33.7 kB / 1.045 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3476, allocations: 208.2 kB / 1.046 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3476, allocations: 39.45 kB / 1.046 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.36e-05/0.3477, allocations: 61.64 kB / 1.046 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3479, allocations: 346.8 kB / 1.046 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.348, allocations: 51.97 kB / 1.046 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3482, allocations: 103.8 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.3485, allocations: 143.2 kB / 1.046 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3485, allocations: 0 / 1.046 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000374/0.3488, allocations: 221 kB / 1.047 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3489, allocations: 4 kB / 1.047 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3489, allocations: 7.984 kB / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3489, allocations: 0 / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.3491, allocations: 43.92 kB / 1.047 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3491, allocations: 0 / 1.047 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.3494, allocations: 35.77 kB / 1.047 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.3495, allocations: 11.98 kB / 1.047 GB, free: 12.82 MB / 0.8262 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.0001777/0.3497, allocations: 157.7 kB / 1.047 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.3497, allocations: 43.44 kB / 1.047 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.3501, allocations: 189.9 kB / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3501, allocations: 0 / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3501, allocations: 0 / 1.047 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3502, allocations: 7.984 kB / 1.047 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.351, allocations: 0.6301 MB / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.351, allocations: 0 / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3511, allocations: 23.98 kB / 1.048 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3511, allocations: 4 kB / 1.048 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3512, allocations: 4 kB / 1.048 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3512, allocations: 8.125 kB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3512, allocations: 7.875 kB / 1.048 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.3515, allocations: 292.3 kB / 1.048 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3517, allocations: 124.6 kB / 1.048 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.3517, allocations: 8 kB / 1.048 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.352, allocations: 12.27 kB / 1.048 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.352, allocations: 19.86 kB / 1.048 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.352, allocations: 8.062 kB / 1.048 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004511/0.3525, allocations: 327 kB / 1.048 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3525, allocations: 0 / 1.048 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004509/0.3529, allocations: 115.8 kB / 1.049 GB, free: 10.75 MB / 0.8262 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.0005003/0.3535, allocations: 213.6 kB / 1.049 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.3538, allocations: 135.8 kB / 1.049 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3538, allocations: 4 kB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3539, allocations: 63.84 kB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.3549, allocations: 183.6 kB / 1.049 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.3562, allocations: 0.6988 MB / 1.05 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.3567, allocations: 0.8035 MB / 1.051 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3568, allocations: 35.44 kB / 1.051 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3568, allocations: 4 kB / 1.051 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.0105/0.3673, allocations: 6.322 MB / 1.057 GB, free: 2.316 MB / 0.8262 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/jenkins1/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