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.008855/0.008856, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001861/0.001862, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.861/2.861, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3862, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01759/0.4039, allocations: 15.39 MB / 1.223 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006965/0.4109, allocations: 4.658 MB / 1.227 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.4117, allocations: 19.88 kB / 1.227 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.4124, allocations: 202.6 kB / 1.228 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.4144, allocations: 0.5985 MB / 1.228 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.4162, allocations: 0.5699 MB / 1.229 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.4175, allocations: 0.9703 MB / 1.23 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.418, allocations: 315.8 kB / 1.23 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.4188, allocations: 418.3 kB / 1.23 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.4192, allocations: 310.5 kB / 1.231 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.4193, allocations: 27.94 kB / 1.231 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.4198, allocations: 215.6 kB / 1.231 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.4199, allocations: 91.59 kB / 1.231 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4202, allocations: 198.8 kB / 1.231 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.4209, allocations: 0.51 MB / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4209, allocations: 0 / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4209, allocations: 0 / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.4209, allocations: 0 / 1.232 GB, free: 1.082 MB / 0.9825 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.001155/0.4221, allocations: 0.7357 MB / 1.232 GB, free: 304 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4221, allocations: 8.031 kB / 1.232 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.4222, allocations: 48.38 kB / 1.232 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007635/0.423, allocations: 413.9 kB / 1.233 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.423, allocations: 20.56 kB / 1.233 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.4231, allocations: 24 kB / 1.233 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.4234, allocations: 191.3 kB / 1.233 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4234, allocations: 0 / 1.233 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4235, allocations: 12 kB / 1.233 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4235, allocations: 7.984 kB / 1.233 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.4237, allocations: 129.7 kB / 1.233 GB, free: 15.42 MB / 0.9981 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.001499/0.4253, allocations: 0.8835 MB / 1.234 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.4257, allocations: 114.6 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.4258, allocations: 56.83 kB / 1.234 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.4262, allocations: 328.4 kB / 1.234 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4262, allocations: 38.56 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.754e-06/0.4262, allocations: 0 / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004115/0.4266, allocations: 181 kB / 1.235 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4267, allocations: 51.41 kB / 1.235 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.4273, allocations: 457.9 kB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4273, allocations: 29.7 kB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4275, allocations: 204.2 kB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.4276, allocations: 51.44 kB / 1.235 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.4277, allocations: 57.59 kB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.4279, allocations: 350.8 kB / 1.236 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.428, allocations: 47.97 kB / 1.236 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4281, allocations: 101.1 kB / 1.236 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4284, allocations: 143.2 kB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4284, allocations: 3.938 kB / 1.236 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003717/0.4287, allocations: 225 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4288, allocations: 4 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4288, allocations: 0 / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4288, allocations: 4 kB / 1.236 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.429, allocations: 39.97 kB / 1.236 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.429, allocations: 7.938 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.4293, allocations: 39.67 kB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.4294, allocations: 11.98 kB / 1.236 GB, free: 11.77 MB / 0.9981 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.0001615/0.4295, allocations: 149.8 kB / 1.237 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.4296, allocations: 39.53 kB / 1.237 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.43, allocations: 195.6 kB / 1.237 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.43, allocations: 0 / 1.237 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.43, allocations: 4 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.43, allocations: 4 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.4308, allocations: 0.6187 MB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4308, allocations: 4.094 kB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.431, allocations: 23.88 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.431, allocations: 4 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.431, allocations: 8 kB / 1.237 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.431, allocations: 8.109 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.431, allocations: 3.938 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.4313, allocations: 290.4 kB / 1.238 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4315, allocations: 140.4 kB / 1.238 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.4315, allocations: 4 kB / 1.238 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4317, allocations: 15.98 kB / 1.238 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.4318, allocations: 11.98 kB / 1.238 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.4318, allocations: 8 kB / 1.238 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000385/0.4322, allocations: 327.1 kB / 1.238 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4322, allocations: 0 / 1.238 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004452/0.4327, allocations: 96 kB / 1.238 GB, free: 9.727 MB / 0.9981 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.0004836/0.4332, allocations: 222.2 kB / 1.239 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.4335, allocations: 131.9 kB / 1.239 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4335, allocations: 0 / 1.239 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.4336, allocations: 71.91 kB / 1.239 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.4345, allocations: 174.9 kB / 1.239 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4358, allocations: 0.6531 MB / 1.24 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.4364, allocations: 0.8152 MB / 1.24 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.4366, allocations: 66.42 kB / 1.24 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.4367, allocations: 35.42 kB / 1.24 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.4367, allocations: 0 / 1.24 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of Templates: time 0.01408/0.4508, allocations: 7.095 MB / 1.247 GB, free: 0.543 MB / 0.9981 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/jenkins/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