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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001383/0.001383, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001452/0.001452, allocations: 192.2 kB / 17.35 MB, free: 5.719 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.674/2.674, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9484/0.9499, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07605/1.026, allocations: 75.2 MB / 1.282 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02006/1.046, allocations: 12.76 MB / 1.294 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/1.049, allocations: 63.62 kB / 1.294 GB, free: 5.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.051, allocations: 0.8384 MB / 1.295 GB, free: 4.477 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006628/1.058, allocations: 2.461 MB / 1.297 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/1.061, allocations: 1.388 MB / 1.299 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005592/1.067, allocations: 4.387 MB / 1.303 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/1.069, allocations: 1.445 MB / 1.304 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/1.073, allocations: 1.616 MB / 1.306 GB, free: 9.137 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/1.076, allocations: 1.2 MB / 1.307 GB, free: 7.934 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/1.076, allocations: 164 kB / 1.307 GB, free: 7.773 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003991/1.08, allocations: 1.423 MB / 1.309 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004867/1.08, allocations: 398.6 kB / 1.309 GB, free: 5.957 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/1.082, allocations: 0.906 MB / 1.31 GB, free: 5.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/1.086, allocations: 2.877 MB / 1.313 GB, free: 2.164 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.086, allocations: 3.984 kB / 1.313 GB, free: 2.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/1.086, allocations: 0 / 1.313 GB, free: 2.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.521e-05/1.087, allocations: 0 / 1.313 GB, free: 2.16 MB / 1.029 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.004074/1.091, allocations: 2.079 MB / 1.315 GB, free: 16 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.091, allocations: 12.03 kB / 1.315 GB, free: 4 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008899/1.092, allocations: 223 kB / 1.315 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/1.094, allocations: 1.524 MB / 1.317 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/1.095, allocations: 78 kB / 1.317 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/1.095, allocations: 100 kB / 1.317 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/1.097, allocations: 1.1 MB / 1.318 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.097, allocations: 0 / 1.318 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/1.097, allocations: 44 kB / 1.318 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/1.097, allocations: 27.94 kB / 1.318 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.099, allocations: 0.8861 MB / 1.319 GB, free: 11.94 MB / 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.005982/1.105, allocations: 4.911 MB / 1.324 GB, free: 6.742 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.106, allocations: 0.6271 MB / 1.324 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/1.107, allocations: 359.5 kB / 1.325 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/1.108, allocations: 0.8277 MB / 1.325 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.108, allocations: 39.12 kB / 1.325 GB, free: 4.695 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 3.026e-06/1.108, allocations: 0 / 1.325 GB, free: 4.695 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.007081/1.115, allocations: 1.693 MB / 1.327 GB, free: 2.977 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/1.115, allocations: 63.95 kB / 1.327 GB, free: 2.902 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/1.116, allocations: 1.225 MB / 1.328 GB, free: 1.66 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.148e-05/1.117, allocations: 41.7 kB / 1.328 GB, free: 1.613 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005808/1.117, allocations: 0.5948 MB / 1.329 GB, free: 1.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.117, allocations: 220.8 kB / 1.329 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.118, allocations: 154.5 kB / 1.329 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.118, allocations: 334 kB / 1.33 GB, free: 312 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/1.118, allocations: 292.7 kB / 1.33 GB, free: 16 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008739/1.119, allocations: 490.9 kB / 1.33 GB, free: 15.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.121, allocations: 0.7081 MB / 1.331 GB, free: 14.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.121, allocations: 8 kB / 1.331 GB, free: 14.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004727/1.126, allocations: 1.277 MB / 1.332 GB, free: 13.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.126, allocations: 8 kB / 1.332 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.126, allocations: 4 kB / 1.332 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/1.126, allocations: 161 kB / 1.332 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.127, allocations: 159.8 kB / 1.333 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/1.128, allocations: 0.7123 MB / 1.333 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.129, allocations: 122.9 kB / 1.333 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/1.129, allocations: 35.92 kB / 1.333 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/1.13, allocations: 0.5566 MB / 1.334 GB, free: 11.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008529/1.131, allocations: 487 kB / 1.334 GB, free: 11.07 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/1.133, allocations: 0.7042 MB / 1.335 GB, free: 10.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.714e-06/1.133, allocations: 4 kB / 1.335 GB, free: 10.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004766/1.138, allocations: 1.273 MB / 1.336 GB, free: 9.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.138, allocations: 8 kB / 1.336 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.138, allocations: 4 kB / 1.336 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/1.138, allocations: 161.1 kB / 1.337 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/1.139, allocations: 159.7 kB / 1.337 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008709/1.14, allocations: 0.7231 MB / 1.337 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.141, allocations: 91.52 kB / 1.337 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.351e-05/1.141, allocations: 27.98 kB / 1.338 GB, free: 7.844 MB / 1.061 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.0003246/1.142, allocations: 232 kB / 1.338 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004851/1.142, allocations: 138.4 kB / 1.338 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/1.147, allocations: 1.271 MB / 1.339 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004099/1.151, allocations: 1.111 MB / 1.34 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.151, allocations: 0 / 1.34 GB, free: 5.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/1.152, allocations: 303.2 kB / 1.34 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/1.152, allocations: 12 kB / 1.34 GB, free: 4.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/1.153, allocations: 55.92 kB / 1.341 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.153, allocations: 44.5 kB / 1.341 GB, free: 4.609 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00271/1.156, allocations: 0.9755 MB / 1.342 GB, free: 3.625 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002538/1.158, allocations: 1.348 MB / 1.343 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000684/1.159, allocations: 336.3 kB / 1.343 GB, free: 1.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001393/1.16, allocations: 0.8575 MB / 1.344 GB, free: 1.074 MB / 1.061 GB Notification: Performance of Backend: time 5.71e-07/1.16, allocations: 3.938 kB / 1.344 GB, free: 1.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004099/1.164, allocations: 1.384 MB / 1.345 GB, free: 15.69 MB / 1.076 GB Notification: Performance of SimCode: time 0.005921/1.17, allocations: 3.146 MB / 1.348 GB, free: 12.5 MB / 1.076 GB Notification: Performance of Templates: time 0.05648/1.227, allocations: 33.62 MB / 1.381 GB, free: 11.21 MB / 1.107 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