Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001194/0.001194, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001944/0.001943, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.938/2.938, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 12 kB / 0.9022 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.436, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01487/0.4509, allocations: 14.09 MB / 1.072 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006313/0.4573, allocations: 4.377 MB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.458, allocations: 11.94 kB / 1.076 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.4587, allocations: 139 kB / 1.076 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.4604, allocations: 461.5 kB / 1.077 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.4621, allocations: 495.5 kB / 1.077 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.4636, allocations: 1.064 MB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.4641, allocations: 254.2 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.4649, allocations: 346.4 kB / 1.079 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.4654, allocations: 290.7 kB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.4655, allocations: 20 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.466, allocations: 139.7 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.4661, allocations: 67.62 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4662, allocations: 101.5 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.4668, allocations: 347.1 kB / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4668, allocations: 0 / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4668, allocations: 0 / 1.08 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.4668, allocations: 0 / 1.08 GB, free: 15.07 MB / 0.8419 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.001338/0.4681, allocations: 0.6657 MB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.4682, allocations: 8.031 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.4683, allocations: 51.38 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.4689, allocations: 381 kB / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.469, allocations: 28.39 kB / 1.081 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.469, allocations: 24 kB / 1.081 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.4694, allocations: 191.3 kB / 1.081 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.4694, allocations: 4 kB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.4695, allocations: 8 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4695, allocations: 8 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.4697, allocations: 133.6 kB / 1.081 GB, free: 13.48 MB / 0.8419 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.001577/0.4713, allocations: 0.8791 MB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.4718, allocations: 110.7 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.4719, allocations: 48.83 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.4722, allocations: 344.4 kB / 1.082 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4722, allocations: 34.52 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 3.076e-06/0.4722, allocations: 0 / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003662/0.4726, allocations: 181.2 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.4726, allocations: 51.41 kB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005939/0.4732, allocations: 457.9 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4733, allocations: 29.7 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.4735, allocations: 216.2 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.4735, allocations: 39.45 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.4735, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4737, allocations: 350.8 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.4738, allocations: 47.97 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.474, allocations: 110.9 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4741, allocations: 63.86 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4741, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003353/0.4744, allocations: 213 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4745, allocations: 15.89 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4745, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4745, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.4747, allocations: 47.92 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.4747, allocations: 7.984 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.4751, allocations: 45.36 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.659e-05/0.4751, allocations: 11.98 kB / 1.084 GB, free: 9.984 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.4753, allocations: 153.8 kB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.4754, allocations: 39.44 kB / 1.084 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.4757, allocations: 202.8 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4758, allocations: 0 / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4758, allocations: 0 / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4758, allocations: 4 kB / 1.085 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/0.4766, allocations: 0.6264 MB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4766, allocations: 0 / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4767, allocations: 20 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.4767, allocations: 4.281 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4767, allocations: 3.984 kB / 1.085 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4767, allocations: 4 kB / 1.085 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4768, allocations: 3.938 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.4771, allocations: 302.2 kB / 1.086 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.4772, allocations: 140.5 kB / 1.086 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.4773, allocations: 8.078 kB / 1.086 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.4775, allocations: 23.92 kB / 1.086 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.4776, allocations: 15.97 kB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4776, allocations: 12.06 kB / 1.086 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004372/0.4781, allocations: 327 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4e-07/0.4781, allocations: 0 / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004534/0.4786, allocations: 103.8 kB / 1.086 GB, free: 7.898 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004781/0.479, allocations: 204.1 kB / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.4793, allocations: 131.8 kB / 1.087 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4794, allocations: 0 / 1.087 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4795, allocations: 59.92 kB / 1.087 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4808, allocations: 219.8 kB / 1.087 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4822, allocations: 0.7741 MB / 1.088 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4827, allocations: 0.8155 MB / 1.088 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.4829, allocations: 65.2 kB / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.483, allocations: 27.44 kB / 1.088 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of SimCode: time 4.2e-07/0.483, allocations: 0 / 1.088 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of Templates: time 0.01429/0.4973, allocations: 6.841 MB / 1.095 GB, free: 14.86 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches