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.007804/0.007804, allocations: 102.6 kB / 15.74 MB, free: 5.508 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.002247/0.002247, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.543/2.543, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2782, allocations: 151.6 MB / 1.167 GB, free: 7 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01578/0.294, allocations: 15.4 MB / 1.182 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006024/0.3001, allocations: 4.673 MB / 1.186 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.3006, allocations: 15.88 kB / 1.186 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.3012, allocations: 194.6 kB / 1.186 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3027, allocations: 0.5712 MB / 1.187 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3041, allocations: 0.5722 MB / 1.188 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3052, allocations: 0.9548 MB / 1.188 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.3056, allocations: 323.8 kB / 1.189 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.3063, allocations: 406.3 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.3067, allocations: 306.6 kB / 1.189 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.3068, allocations: 24 kB / 1.189 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3072, allocations: 215.6 kB / 1.19 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3074, allocations: 91.59 kB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.3076, allocations: 206.8 kB / 1.19 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.3082, allocations: 0.5057 MB / 1.19 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3082, allocations: 4 kB / 1.19 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3083, allocations: 0 / 1.19 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3083, allocations: 0 / 1.19 GB, free: 14.47 MB / 0.9512 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.3094, allocations: 0.7393 MB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3094, allocations: 12.03 kB / 1.191 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.3095, allocations: 48.66 kB / 1.191 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.3102, allocations: 426.2 kB / 1.192 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3102, allocations: 28.55 kB / 1.192 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.3103, allocations: 27.98 kB / 1.192 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3106, allocations: 191.3 kB / 1.192 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3106, allocations: 0 / 1.192 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.3107, allocations: 4 kB / 1.192 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3107, allocations: 8 kB / 1.192 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.3109, allocations: 129.7 kB / 1.192 GB, free: 12.78 MB / 0.9512 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.001411/0.3124, allocations: 0.8832 MB / 1.193 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.3128, allocations: 114.6 kB / 1.193 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.3129, allocations: 48.83 kB / 1.193 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.3132, allocations: 340.3 kB / 1.193 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3132, allocations: 34.56 kB / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.3132, allocations: 0 / 1.193 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003466/0.3136, allocations: 185.2 kB / 1.194 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3136, allocations: 51.41 kB / 1.194 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.3142, allocations: 453.9 kB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3142, allocations: 29.7 kB / 1.194 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3144, allocations: 216.4 kB / 1.194 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3144, allocations: 43.64 kB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.863e-05/0.3145, allocations: 57.66 kB / 1.194 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3147, allocations: 346.8 kB / 1.195 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3148, allocations: 51.97 kB / 1.195 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3149, allocations: 103.8 kB / 1.195 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3152, allocations: 143.3 kB / 1.195 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3152, allocations: 0 / 1.195 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003678/0.3155, allocations: 229.2 kB / 1.195 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3156, allocations: 10.19 kB / 1.195 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3156, allocations: 0 / 1.195 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3156, allocations: 0 / 1.195 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3158, allocations: 39.98 kB / 1.195 GB, free: 9.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3158, allocations: 4 kB / 1.195 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.3161, allocations: 39.75 kB / 1.195 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.3162, allocations: 12 kB / 1.195 GB, free: 9.137 MB / 0.9512 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.0001435/0.3163, allocations: 153.7 kB / 1.195 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.3164, allocations: 47.78 kB / 1.196 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.3168, allocations: 201.4 kB / 1.196 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3168, allocations: 7.922 kB / 1.196 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3168, allocations: 0 / 1.196 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3168, allocations: 4 kB / 1.196 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.3176, allocations: 0.6187 MB / 1.196 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3176, allocations: 0 / 1.196 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3177, allocations: 27.92 kB / 1.196 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3177, allocations: 4 kB / 1.196 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3177, allocations: 0 / 1.196 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3177, allocations: 4 kB / 1.196 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3177, allocations: 4.062 kB / 1.196 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.318, allocations: 308.2 kB / 1.197 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3182, allocations: 132.8 kB / 1.197 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.3182, allocations: 4 kB / 1.197 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.3185, allocations: 15.98 kB / 1.197 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3185, allocations: 15.92 kB / 1.197 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3185, allocations: 4 kB / 1.197 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003836/0.3189, allocations: 331.1 kB / 1.197 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3189, allocations: 0 / 1.197 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004169/0.3194, allocations: 99.81 kB / 1.197 GB, free: 7.062 MB / 0.9512 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.0004074/0.3198, allocations: 223.6 kB / 1.197 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.3201, allocations: 135.7 kB / 1.198 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3201, allocations: 0 / 1.198 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.593e-05/0.3202, allocations: 67.84 kB / 1.198 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.3211, allocations: 179.2 kB / 1.198 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3224, allocations: 0.6767 MB / 1.198 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3227, allocations: 0.8035 MB / 1.199 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.3229, allocations: 66.23 kB / 1.199 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.323, allocations: 35.44 kB / 1.199 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.323, allocations: 0 / 1.199 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of Templates: time 0.01244/0.3355, allocations: 7.17 MB / 1.206 GB, free: 13.82 MB / 0.9669 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