Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTHeaWatSup.T|senTHeaWatRet.T|TChiWatSupSet.y|senTChiWatSup.T|senTChiWatRet.T|chi.PChi|chi.PPum|chi.valCon.y_actual|chi.valEva.y_actual|chi.uHea|chi.uCoo",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTHeaWatSup.T|senTHeaWatRet.T|TChiWatSupSet.y|senTChiWatSup.T|senTChiWatRet.T|chi.PChi|chi.PPum|chi.valCon.y_actual|chi.valEva.y_actual|chi.uHea|chi.uCoo",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.7 kB / 16.42 MB, free: 6.496 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.00172/0.00172, allocations: 193.6 kB / 17.35 MB, free: 5.754 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.565/1.565, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 63.91 kB / 0.9516 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.985/0.9865, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter chi.pumCon.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter chi.pumEva.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller): time 0.2785/1.265, allocations: 258.9 MB / 1.341 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.08683/1.352, allocations: 51.75 MB / 1.392 GB, free: 6.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01849/1.37, allocations: 286.4 kB / 1.392 GB, free: 6.469 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.01282/1.383, allocations: 3.499 MB / 1.396 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.03206/1.416, allocations: 8.771 MB / 1.404 GB, free: 10.15 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0203/1.436, allocations: 7.207 MB / 1.411 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.02962/1.465, allocations: 17.3 MB / 1.428 GB, free: 1.641 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01593/1.481, allocations: 6.558 MB / 1.435 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02153/1.503, allocations: 7.409 MB / 1.442 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/1.514, allocations: 5.033 MB / 1.447 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.003716/1.518, allocations: 0.8008 MB / 1.448 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/1.531, allocations: 4.431 MB / 1.452 GB, free: 9.273 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004054/1.535, allocations: 1.963 MB / 1.454 GB, free: 7.305 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01019/1.545, allocations: 4.021 MB / 1.458 GB, free: 3.266 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0263/1.571, allocations: 13.58 MB / 1.471 GB, free: 5.645 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.572, allocations: 0 / 1.471 GB, free: 5.645 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.874e-06/1.572, allocations: 3.938 kB / 1.471 GB, free: 5.641 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004509/1.572, allocations: 4 kB / 1.471 GB, free: 5.637 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.02528/1.597, allocations: 7.775 MB / 1.479 GB, free: 13.76 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.597, allocations: 8.031 kB / 1.479 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009058/1.606, allocations: 1.486 MB / 1.48 GB, free: 12.26 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/1.623, allocations: 6.264 MB / 1.486 GB, free: 5.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005673/1.624, allocations: 387.6 kB / 1.487 GB, free: 5.535 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/1.625, allocations: 403.9 kB / 1.487 GB, free: 5.141 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.639, allocations: 4.671 MB / 1.491 GB, free: 316 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-05/1.64, allocations: 11.84 kB / 1.491 GB, free: 304 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/1.64, allocations: 160 kB / 1.492 GB, free: 144 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/1.64, allocations: 96 kB / 1.492 GB, free: 48 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/1.651, allocations: 3.986 MB / 1.496 GB, free: 12.05 MB / 1.232 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.04166/1.693, allocations: 24.75 MB / 1.52 GB, free: 1.734 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006952/1.7, allocations: 3.004 MB / 1.523 GB, free: 14.69 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003736/1.703, allocations: 1.588 MB / 1.524 GB, free: 13.1 MB / 1.264 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 evalFunc (simulation): time 0.01568/1.719, allocations: 8.563 MB / 1.533 GB, free: 3.812 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003949/1.723, allocations: 1.674 MB / 1.534 GB, free: 2.113 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002387/1.725, allocations: 293.4 kB / 1.535 GB, free: 1.824 MB / 1.264 GB Notification: Performance of pre-optimization done (n=214): time 1.091e-05/1.725, allocations: 0 / 1.535 GB, free: 1.824 MB / 1.264 GB Notification: Performance of matching and sorting (n=214): time 0.01285/1.738, allocations: 4.693 MB / 1.539 GB, free: 13.07 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/1.738, allocations: 140.7 kB / 1.539 GB, free: 12.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/1.753, allocations: 5.338 MB / 1.544 GB, free: 7.566 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.755, allocations: 81.69 kB / 1.545 GB, free: 7.48 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004417/1.759, allocations: 2.792 MB / 1.547 GB, free: 4.672 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001675/1.761, allocations: 0.724 MB / 1.548 GB, free: 3.938 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002442/1.763, allocations: 0.6389 MB / 1.549 GB, free: 3.289 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001025/1.763, allocations: 305.1 kB / 1.549 GB, free: 2.988 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/1.767, allocations: 1.432 MB / 1.55 GB, free: 1.547 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004609/1.772, allocations: 2.408 MB / 1.553 GB, free: 14.71 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007946/1.78, allocations: 3.711 MB / 1.556 GB, free: 10.62 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/1.78, allocations: 11.98 kB / 1.556 GB, free: 10.61 MB / 1.295 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01201/1.792, allocations: 4.551 MB / 1.561 GB, free: 5.988 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/1.792, allocations: 79.39 kB / 1.561 GB, free: 5.898 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/1.792, allocations: 24 kB / 1.561 GB, free: 5.875 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/1.793, allocations: 197.5 kB / 1.561 GB, free: 5.676 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/1.796, allocations: 0.7293 MB / 1.562 GB, free: 4.945 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/1.797, allocations: 1.234 MB / 1.563 GB, free: 3.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.802, allocations: 273.1 kB / 1.563 GB, free: 3.395 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.802, allocations: 159.9 kB / 1.563 GB, free: 3.238 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006015/1.809, allocations: 2.454 MB / 1.566 GB, free: 0.7773 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004341/1.813, allocations: 2.358 MB / 1.568 GB, free: 14 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00732/1.82, allocations: 3.598 MB / 1.572 GB, free: 10.01 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.809e-05/1.82, allocations: 4 kB / 1.572 GB, free: 10.01 MB / 1.311 GB Notification: Performance of matching and sorting (n=380) (initialization_lambda0): time 0.01119/1.831, allocations: 4.383 MB / 1.576 GB, free: 5.559 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.977e-05/1.832, allocations: 83.33 kB / 1.576 GB, free: 5.465 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/1.832, allocations: 24 kB / 1.576 GB, free: 5.441 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/1.832, allocations: 149.6 kB / 1.576 GB, free: 5.289 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/1.835, allocations: 0.7254 MB / 1.577 GB, free: 4.562 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/1.839, allocations: 3.632 MB / 1.58 GB, free: 0.6523 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005479/1.844, allocations: 285.5 kB / 1.581 GB, free: 376 kB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/1.845, allocations: 151.9 kB / 1.581 GB, free: 224 kB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 20 (chi.con.conValCon.conPID.cheYMinMax.y,chi.con.conValEva.conPID.cheYMinMax.y,TChiWatRet.nextEventScaled,TChiWatRet.nextEvent,$PRE.TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.b,TChiWatRet.a,THeaWatRet.nextEventScaled,THeaWatRet.nextEvent,$PRE.THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.b,THeaWatRet.a,uCoo.y,uHea.y,chi.con.yChi,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (360): * Single equations (assignments): 354 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.8343/2.679, allocations: 442.4 kB / 1.581 GB, free: 434.6 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002412/2.681, allocations: 0.5444 MB / 1.582 GB, free: 434.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/2.693, allocations: 4.162 MB / 1.586 GB, free: 434.3 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008464/2.702, allocations: 3.07 MB / 1.589 GB, free: 433.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/2.702, allocations: 4.641 kB / 1.589 GB, free: 433.4 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004094/2.706, allocations: 1.042 MB / 1.59 GB, free: 433 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/2.708, allocations: 49.69 kB / 1.59 GB, free: 433 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004998/2.713, allocations: 221 kB / 1.59 GB, free: 433 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005411/2.714, allocations: 151.3 kB / 1.59 GB, free: 432.9 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01161/2.725, allocations: 3.743 MB / 1.594 GB, free: 431.5 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0157/2.741, allocations: 5.659 MB / 1.599 GB, free: 429.3 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004368/2.746, allocations: 1.578 MB / 1.601 GB, free: 428.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01204/2.758, allocations: 3.593 MB / 1.604 GB, free: 427.4 MB / 1.311 GB Notification: Performance of Backend: time 1.863e-06/2.758, allocations: 5.609 kB / 1.604 GB, free: 427.4 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0248/2.783, allocations: 6.141 MB / 1.61 GB, free: 425.3 MB / 1.311 GB Notification: Performance of SimCode: time 0.03972/2.822, allocations: 12.23 MB / 1.622 GB, free: 419.7 MB / 1.311 GB Notification: Performance of Templates: time 0.2201/3.043, allocations: 130 MB / 1.749 GB, free: 321.4 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.sim & ./Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches