Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001539/0.001539, allocations: 113.2 kB / 16.42 MB, free: 6.5 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.001557/0.001557, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 71.88 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.104, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller): time 0.2937/1.398, allocations: 260.1 MB / 1.421 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.1004/1.498, allocations: 53.94 MB / 1.474 GB, free: 8.844 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01596/1.514, allocations: 286.4 kB / 1.474 GB, free: 8.562 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.01545/1.53, allocations: 4.365 MB / 1.479 GB, free: 4.18 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.03109/1.561, allocations: 9.132 MB / 1.487 GB, free: 11.02 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.02172/1.583, allocations: 7.378 MB / 1.495 GB, free: 3.668 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.04317/1.626, allocations: 23.94 MB / 1.518 GB, free: 11.68 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/1.644, allocations: 6.614 MB / 1.524 GB, free: 4.961 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02711/1.671, allocations: 7.428 MB / 1.532 GB, free: 13.52 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/1.684, allocations: 5.233 MB / 1.537 GB, free: 8.27 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.004424/1.689, allocations: 0.8281 MB / 1.538 GB, free: 7.441 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/1.705, allocations: 4.649 MB / 1.542 GB, free: 2.785 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00528/1.71, allocations: 2.321 MB / 1.544 GB, free: 468 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.01318/1.723, allocations: 4.511 MB / 1.549 GB, free: 11.92 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 1.145/2.869, allocations: 15.25 MB / 1.564 GB, free: 103.8 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/2.869, allocations: 1.031 kB / 1.564 GB, free: 103.8 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.515e-06/2.869, allocations: 0.5312 kB / 1.564 GB, free: 103.8 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0005784/2.87, allocations: 0.5 kB / 1.564 GB, free: 103.8 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.03233/2.902, allocations: 9.104 MB / 1.573 GB, free: 99.77 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/2.902, allocations: 8.875 kB / 1.573 GB, free: 99.77 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/2.912, allocations: 1.54 MB / 1.574 GB, free: 99.3 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/2.932, allocations: 9.08 MB / 1.583 GB, free: 97.94 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/2.933, allocations: 385.9 kB / 1.583 GB, free: 97.87 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/2.934, allocations: 402.5 kB / 1.584 GB, free: 97.86 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009854/2.944, allocations: 4.602 MB / 1.588 GB, free: 97.34 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-05/2.944, allocations: 6.125 kB / 1.588 GB, free: 97.34 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/2.945, allocations: 159 kB / 1.588 GB, free: 97.34 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.742e-05/2.945, allocations: 101 kB / 1.589 GB, free: 97.34 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009148/2.954, allocations: 3.835 MB / 1.592 GB, free: 97.3 MB / 1.279 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.04833/3.002, allocations: 25.37 MB / 1.617 GB, free: 85.37 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/3.009, allocations: 2.71 MB / 1.62 GB, free: 85.12 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/3.013, allocations: 1.473 MB / 1.621 GB, free: 85.09 MB / 1.279 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.02166/3.035, allocations: 8.502 MB / 1.629 GB, free: 81.07 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004205/3.039, allocations: 1.534 MB / 1.631 GB, free: 80.91 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004592/3.044, allocations: 308.3 kB / 1.631 GB, free: 80.77 MB / 1.279 GB Notification: Performance of pre-optimization done (n=213): time 2.096e-05/3.044, allocations: 0 / 1.631 GB, free: 80.77 MB / 1.279 GB Notification: Performance of matching and sorting (n=213): time 0.01416/3.058, allocations: 4.508 MB / 1.636 GB, free: 79.97 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/3.058, allocations: 129.8 kB / 1.636 GB, free: 79.85 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/3.076, allocations: 6.748 MB / 1.642 GB, free: 79.37 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001036/3.077, allocations: 80.05 kB / 1.642 GB, free: 79.34 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004305/3.081, allocations: 3.223 MB / 1.646 GB, free: 78.52 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/3.083, allocations: 0.7696 MB / 1.646 GB, free: 78.02 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003551/3.086, allocations: 0.8533 MB / 1.647 GB, free: 77.96 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/3.086, allocations: 305.1 kB / 1.647 GB, free: 77.66 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004299/3.091, allocations: 1.703 MB / 1.649 GB, free: 77.61 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/3.096, allocations: 2.796 MB / 1.652 GB, free: 76.39 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008434/3.104, allocations: 4.213 MB / 1.656 GB, free: 75.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.526e-05/3.105, allocations: 8.25 kB / 1.656 GB, free: 75.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01434/3.119, allocations: 5.404 MB / 1.661 GB, free: 74.55 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/3.119, allocations: 89.53 kB / 1.661 GB, free: 74.49 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.097e-05/3.119, allocations: 26.09 kB / 1.661 GB, free: 74.49 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/3.12, allocations: 194.5 kB / 1.662 GB, free: 74.47 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/3.123, allocations: 0.7962 MB / 1.662 GB, free: 74.46 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000876/3.124, allocations: 1.247 MB / 1.664 GB, free: 73.42 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007247/3.132, allocations: 271.3 kB / 1.664 GB, free: 73.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009864/3.133, allocations: 177.2 kB / 1.664 GB, free: 73.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01024/3.143, allocations: 3.053 MB / 1.667 GB, free: 73.29 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005671/3.149, allocations: 2.763 MB / 1.67 GB, free: 72.08 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008115/3.157, allocations: 4.166 MB / 1.674 GB, free: 70.88 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.662e-05/3.157, allocations: 11.39 kB / 1.674 GB, free: 70.88 MB / 1.279 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01382/3.171, allocations: 5.31 MB / 1.679 GB, free: 70.25 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/3.171, allocations: 78.64 kB / 1.679 GB, free: 70.18 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.708e-05/3.171, allocations: 33 kB / 1.679 GB, free: 70.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/3.171, allocations: 149.8 kB / 1.679 GB, free: 70.16 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/3.175, allocations: 0.7983 MB / 1.68 GB, free: 70.16 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/3.177, allocations: 3.615 MB / 1.683 GB, free: 67.16 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/3.184, allocations: 296.8 kB / 1.684 GB, free: 67.15 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008254/3.185, allocations: 170.4 kB / 1.684 GB, free: 67.15 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 116 * Number of states: 0 () * Number of discrete variables: 21 (chi.chi.tru.y,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 (428): * Single equations (assignments): 420 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * 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.001766/3.187, allocations: 464.5 kB / 1.684 GB, free: 66.89 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003087/3.19, allocations: 0.6689 MB / 1.685 GB, free: 66.51 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/3.202, allocations: 3.989 MB / 1.689 GB, free: 66.12 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006442/3.208, allocations: 2.86 MB / 1.692 GB, free: 65.87 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/3.208, allocations: 0 / 1.692 GB, free: 65.87 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004559/3.213, allocations: 1.18 MB / 1.693 GB, free: 65.26 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002996/3.216, allocations: 42.38 kB / 1.693 GB, free: 65.25 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005397/3.221, allocations: 199.5 kB / 1.693 GB, free: 65.14 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/3.222, allocations: 150.8 kB / 1.693 GB, free: 65.06 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009055/3.231, allocations: 3.508 MB / 1.697 GB, free: 62.91 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01215/3.243, allocations: 5.425 MB / 1.702 GB, free: 59 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002855/3.246, allocations: 1.466 MB / 1.703 GB, free: 57.73 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01008/3.256, allocations: 4.529 MB / 1.708 GB, free: 53.56 MB / 1.279 GB Notification: Performance of Backend: time 9.92e-07/3.256, allocations: 4 kB / 1.708 GB, free: 53.55 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02258/3.279, allocations: 7.187 MB / 1.715 GB, free: 46.69 MB / 1.279 GB Notification: Performance of SimCode: time 0.03593/3.315, allocations: 14.63 MB / 1.729 GB, free: 32.2 MB / 1.279 GB Notification: Performance of Templates: time 0.2592/3.574, allocations: 147.8 MB / 1.873 GB, free: 14.72 MB / 1.404 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches