Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_11_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_11_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.001147/0.001147, allocations: 104.6 kB / 15.98 MB, free: 6.355 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.001181/0.001181, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.62/2.62, allocations: 469.8 MB / 0.7427 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.66 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.5163/0.818, allocations: 15.3 MB / 1.079 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006149/0.8242, allocations: 4.638 MB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.8248, allocations: 15.38 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.8254, allocations: 163.7 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.827, allocations: 0.5305 MB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.8286, allocations: 0.5153 MB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.8297, allocations: 0.9648 MB / 1.086 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.8302, allocations: 311.9 kB / 1.086 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.8309, allocations: 417.7 kB / 1.086 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.8313, allocations: 315 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.8313, allocations: 24.03 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.8319, allocations: 215.7 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.832, allocations: 87.91 kB / 1.087 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.8322, allocations: 202.8 kB / 1.087 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00055/0.8327, allocations: 376.7 kB / 1.088 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8327, allocations: 0 / 1.088 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8328, allocations: 0 / 1.088 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.8328, allocations: 4 kB / 1.088 GB, free: 9.871 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.001029/0.8338, allocations: 0.7246 MB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.8339, allocations: 10.23 kB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.834, allocations: 47.84 kB / 1.088 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.8345, allocations: 397.1 kB / 1.089 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.8345, allocations: 22.39 kB / 1.089 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.8346, allocations: 29 kB / 1.089 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.8349, allocations: 190.5 kB / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.835, allocations: 0 / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.835, allocations: 10.16 kB / 1.089 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.835, allocations: 9.891 kB / 1.089 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.8352, allocations: 129.3 kB / 1.089 GB, free: 9.016 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.001349/0.8366, allocations: 0.8794 MB / 1.09 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.8371, allocations: 117.2 kB / 1.09 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.8371, allocations: 49.28 kB / 1.09 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.8373, allocations: 341.1 kB / 1.09 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.8374, allocations: 32.91 kB / 1.091 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.8374, allocations: 3.938 kB / 1.091 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003669/0.8377, allocations: 166.4 kB / 1.091 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.8378, allocations: 57.7 kB / 1.091 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.8383, allocations: 464.2 kB / 1.091 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.8384, allocations: 28.14 kB / 1.091 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.8385, allocations: 214.5 kB / 1.091 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.8385, allocations: 41.31 kB / 1.091 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.8386, allocations: 53.34 kB / 1.091 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.8387, allocations: 352.6 kB / 1.092 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.8388, allocations: 46.27 kB / 1.092 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.839, allocations: 114.6 kB / 1.092 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.8392, allocations: 130 kB / 1.092 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8392, allocations: 4.547 kB / 1.092 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003339/0.8395, allocations: 220.3 kB / 1.092 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8395, allocations: 5.734 kB / 1.092 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8395, allocations: 1.875 kB / 1.092 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8396, allocations: 2.031 kB / 1.092 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.8398, allocations: 49 kB / 1.092 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8398, allocations: 2.859 kB / 1.092 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.8401, allocations: 46.52 kB / 1.092 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.8402, allocations: 7.641 kB / 1.092 GB, free: 6.98 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.0001256/0.8403, allocations: 158.2 kB / 1.093 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.8404, allocations: 41.03 kB / 1.093 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/0.8407, allocations: 194.7 kB / 1.093 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.8407, allocations: 1.625 kB / 1.093 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8407, allocations: 1.344 kB / 1.093 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.8407, allocations: 1.125 kB / 1.093 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.8414, allocations: 0.6271 MB / 1.093 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8415, allocations: 5.688 kB / 1.093 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.8416, allocations: 21.97 kB / 1.093 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8416, allocations: 2.578 kB / 1.093 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8416, allocations: 3.875 kB / 1.093 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8416, allocations: 1.469 kB / 1.093 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8416, allocations: 5.281 kB / 1.093 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.8419, allocations: 305.8 kB / 1.094 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.842, allocations: 133.7 kB / 1.094 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.842, allocations: 7.859 kB / 1.094 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.8423, allocations: 18.3 kB / 1.094 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.8423, allocations: 20.45 kB / 1.094 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.8424, allocations: 6.203 kB / 1.094 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003665/0.8427, allocations: 323.8 kB / 1.094 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8427, allocations: 0.7812 kB / 1.094 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004839/0.8432, allocations: 104.1 kB / 1.094 GB, free: 5.723 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.000457/0.8437, allocations: 211.9 kB / 1.095 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.844, allocations: 139 kB / 1.095 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.844, allocations: 0.5938 kB / 1.095 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.8441, allocations: 62 kB / 1.095 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.8452, allocations: 186.1 kB / 1.095 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.8464, allocations: 0.8161 MB / 1.096 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.8467, allocations: 0.8058 MB / 1.096 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.8468, allocations: 33.22 kB / 1.097 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.8468, allocations: 0 / 1.097 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of Templates: time 0.01163/0.8585, allocations: 6.242 MB / 1.103 GB, free: 3.516 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches