Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.8 kB / 16.41 MB, free: 6.512 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.001332/0.001332, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 469.4 MB / 0.7428 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 59.91 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9778/0.9792, allocations: 159.1 MB / 1.221 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.08254/1.062, allocations: 75.2 MB / 1.294 GB, free: 6.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02076/1.083, allocations: 12.75 MB / 1.307 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/1.085, allocations: 63.62 kB / 1.307 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002535/1.088, allocations: 0.8696 MB / 1.308 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007137/1.095, allocations: 2.589 MB / 1.31 GB, free: 6.488 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/1.099, allocations: 1.401 MB / 1.312 GB, free: 5.098 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006207/1.105, allocations: 4.394 MB / 1.316 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/1.107, allocations: 1.445 MB / 1.317 GB, free: 15.21 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/1.112, allocations: 1.653 MB / 1.319 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/1.114, allocations: 1.202 MB / 1.32 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/1.115, allocations: 164 kB / 1.32 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/1.119, allocations: 1.419 MB / 1.322 GB, free: 10.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007253/1.119, allocations: 402.6 kB / 1.322 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/1.121, allocations: 0.9021 MB / 1.323 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006809/1.128, allocations: 2.873 MB / 1.326 GB, free: 6.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/1.128, allocations: 0 / 1.326 GB, free: 6.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.294e-06/1.128, allocations: 3.938 kB / 1.326 GB, free: 6.586 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001015/1.128, allocations: 4 kB / 1.326 GB, free: 6.582 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006361/1.135, allocations: 2.083 MB / 1.328 GB, free: 4.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/1.135, allocations: 8.625 kB / 1.328 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/1.136, allocations: 222.9 kB / 1.328 GB, free: 4.203 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/1.139, allocations: 1.524 MB / 1.329 GB, free: 2.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/1.14, allocations: 78 kB / 1.33 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.14, allocations: 103.9 kB / 1.33 GB, free: 2.445 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.142, allocations: 1.096 MB / 1.331 GB, free: 1.316 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/1.142, allocations: 8 kB / 1.331 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.204e-05/1.142, allocations: 36 kB / 1.331 GB, free: 1.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/1.142, allocations: 24 kB / 1.331 GB, free: 1.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/1.144, allocations: 0.89 MB / 1.332 GB, free: 368 kB / 1.045 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.007519/1.152, allocations: 4.919 MB / 1.336 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.153, allocations: 0.6272 MB / 1.337 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/1.154, allocations: 362.2 kB / 1.337 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/1.154, allocations: 0.8316 MB / 1.338 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/1.154, allocations: 39.12 kB / 1.338 GB, free: 9.098 MB / 1.061 GB Notification: Performance of pre-optimization done (n=62): time 4.889e-06/1.155, allocations: 4 kB / 1.338 GB, free: 9.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=62): time 0.007682/1.162, allocations: 1.693 MB / 1.34 GB, free: 7.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.162, allocations: 59.97 kB / 1.34 GB, free: 7.301 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.164, allocations: 1.225 MB / 1.341 GB, free: 6.059 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.164, allocations: 45.64 kB / 1.341 GB, free: 6.008 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005769/1.165, allocations: 0.591 MB / 1.342 GB, free: 5.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/1.165, allocations: 220.8 kB / 1.342 GB, free: 5.191 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.165, allocations: 154.6 kB / 1.342 GB, free: 5.035 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.166, allocations: 330 kB / 1.342 GB, free: 4.707 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006966/1.166, allocations: 296.6 kB / 1.343 GB, free: 4.414 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008937/1.167, allocations: 491 kB / 1.343 GB, free: 3.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/1.169, allocations: 0.7004 MB / 1.344 GB, free: 3.121 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.169, allocations: 7.938 kB / 1.344 GB, free: 3.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004904/1.174, allocations: 1.277 MB / 1.345 GB, free: 1.824 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/1.174, allocations: 8 kB / 1.345 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.174, allocations: 4 kB / 1.345 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/1.175, allocations: 157.1 kB / 1.345 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/1.175, allocations: 159.8 kB / 1.345 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.176, allocations: 0.7233 MB / 1.346 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.178, allocations: 115 kB / 1.346 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-05/1.178, allocations: 39.92 kB / 1.346 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00123/1.179, allocations: 0.5527 MB / 1.347 GB, free: 44 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008944/1.18, allocations: 487.1 kB / 1.347 GB, free: 15.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001421/1.181, allocations: 0.7082 MB / 1.348 GB, free: 14.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.181, allocations: 0 / 1.348 GB, free: 14.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005042/1.186, allocations: 1.273 MB / 1.349 GB, free: 13.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.186, allocations: 8 kB / 1.349 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.187, allocations: 4 kB / 1.349 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/1.187, allocations: 161 kB / 1.349 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006212/1.188, allocations: 155.8 kB / 1.35 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009478/1.189, allocations: 0.7239 MB / 1.35 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.19, allocations: 91.52 kB / 1.35 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.19, allocations: 31.98 kB / 1.35 GB, free: 12.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004108/1.191, allocations: 228.1 kB / 1.351 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/1.191, allocations: 142.2 kB / 1.351 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005335/1.197, allocations: 1.271 MB / 1.352 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004318/1.201, allocations: 1.107 MB / 1.353 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.201, allocations: 4 kB / 1.353 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/1.202, allocations: 307.1 kB / 1.353 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.202, allocations: 11.98 kB / 1.353 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.203, allocations: 55.94 kB / 1.353 GB, free: 9.066 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.204, allocations: 48.44 kB / 1.353 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002988/1.207, allocations: 0.9758 MB / 1.354 GB, free: 8.035 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002753/1.209, allocations: 1.34 MB / 1.356 GB, free: 6.68 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007569/1.21, allocations: 340.2 kB / 1.356 GB, free: 6.348 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001592/1.212, allocations: 0.8575 MB / 1.357 GB, free: 5.488 MB / 1.076 GB Notification: Performance of Backend: time 6.92e-07/1.212, allocations: 0 / 1.357 GB, free: 5.488 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004428/1.216, allocations: 1.398 MB / 1.358 GB, free: 4.098 MB / 1.076 GB Notification: Performance of SimCode: time 0.006784/1.223, allocations: 3.134 MB / 1.361 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of Templates: time 0.06139/1.284, allocations: 33.88 MB / 1.394 GB, free: 15.37 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches