Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.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.001236/0.001236, allocations: 102.2 kB / 16.27 MB, free: 6 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.001362/0.001362, allocations: 191 kB / 17.2 MB, free: 5.609 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.351/1.351, 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 11.0.1-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 60.31 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3354, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.6112/0.9466, allocations: 15.38 MB / 1.079 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006862/0.9535, allocations: 4.674 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.9542, allocations: 14.28 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.9548, allocations: 189.1 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.9566, allocations: 0.5692 MB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.9584, allocations: 0.5635 MB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.9598, allocations: 0.9545 MB / 1.086 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.9604, allocations: 317.3 kB / 1.086 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007668/0.9612, allocations: 414.9 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.9616, allocations: 305.8 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.858e-05/0.9617, allocations: 24.72 kB / 1.087 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.9623, allocations: 211.9 kB / 1.087 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.9624, allocations: 87.12 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.9627, allocations: 201.5 kB / 1.088 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.9635, allocations: 0.4982 MB / 1.088 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9635, allocations: 0 / 1.088 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9635, allocations: 4 kB / 1.088 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.9635, allocations: 0 / 1.088 GB, free: 9.902 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.001109/0.9646, allocations: 0.7283 MB / 1.089 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9647, allocations: 10.16 kB / 1.089 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.9648, allocations: 52.78 kB / 1.089 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/0.9653, allocations: 390 kB / 1.089 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.9654, allocations: 22.78 kB / 1.089 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.9654, allocations: 31.88 kB / 1.089 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.9658, allocations: 191 kB / 1.089 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.9658, allocations: 1.547 kB / 1.089 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.9659, allocations: 5.438 kB / 1.089 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.9659, allocations: 4.406 kB / 1.089 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.9661, allocations: 133.4 kB / 1.09 GB, free: 9.051 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.001511/0.9676, allocations: 0.8845 MB / 1.09 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.9681, allocations: 125.8 kB / 1.091 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.334e-05/0.9682, allocations: 50.05 kB / 1.091 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.9684, allocations: 333.3 kB / 1.091 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.9684, allocations: 34.91 kB / 1.091 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.9685, allocations: 1.219 kB / 1.091 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003764/0.9688, allocations: 165.8 kB / 1.091 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.9689, allocations: 61.12 kB / 1.091 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.9694, allocations: 462.6 kB / 1.092 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.9695, allocations: 36.14 kB / 1.092 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.9696, allocations: 214.3 kB / 1.092 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.9696, allocations: 41.31 kB / 1.092 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.9697, allocations: 54.45 kB / 1.092 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.9698, allocations: 347.8 kB / 1.092 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.9699, allocations: 50.25 kB / 1.092 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.9701, allocations: 105.8 kB / 1.092 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.9703, allocations: 129.6 kB / 1.093 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.9703, allocations: 4.688 kB / 1.093 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000348/0.9706, allocations: 226 kB / 1.093 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.9707, allocations: 6.688 kB / 1.093 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9707, allocations: 1.281 kB / 1.093 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.9707, allocations: 6.578 kB / 1.093 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.9709, allocations: 43.53 kB / 1.093 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.9709, allocations: 2.375 kB / 1.093 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.9713, allocations: 30.56 kB / 1.093 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.9713, allocations: 11.81 kB / 1.093 GB, free: 6.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.9715, allocations: 156.8 kB / 1.093 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.9715, allocations: 42.61 kB / 1.093 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.9719, allocations: 195.2 kB / 1.093 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.9719, allocations: 6.266 kB / 1.093 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9719, allocations: 4.734 kB / 1.093 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9719, allocations: 1.484 kB / 1.093 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007627/0.9727, allocations: 0.624 MB / 1.094 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9727, allocations: 1.219 kB / 1.094 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.9728, allocations: 26.45 kB / 1.094 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.9728, allocations: 2 kB / 1.094 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.9728, allocations: 2.438 kB / 1.094 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9729, allocations: 4.953 kB / 1.094 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9729, allocations: 10.19 kB / 1.094 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.9732, allocations: 296 kB / 1.094 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9733, allocations: 133.8 kB / 1.094 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.9733, allocations: 3.578 kB / 1.094 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.9736, allocations: 14.42 kB / 1.094 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.9736, allocations: 20.23 kB / 1.094 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.9736, allocations: 5.719 kB / 1.094 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004108/0.974, allocations: 323.4 kB / 1.095 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9741, allocations: 0 / 1.095 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005337/0.9746, allocations: 113.1 kB / 1.095 GB, free: 5.715 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 (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.00048/0.9751, allocations: 208.7 kB / 1.095 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.9755, allocations: 147.3 kB / 1.095 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9755, allocations: 3.938 kB / 1.095 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.9756, allocations: 62.64 kB / 1.095 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.9767, allocations: 177.2 kB / 1.095 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.9781, allocations: 0.692 MB / 1.096 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.9784, allocations: 0.809 MB / 1.097 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.9785, allocations: 36.47 kB / 1.097 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.9785, allocations: 0.7188 kB / 1.097 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of Templates: time 0.01372/0.9922, allocations: 6.237 MB / 1.103 GB, free: 3.625 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches