Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.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.001342/0.001342, allocations: 109.5 kB / 16.41 MB, free: 5.996 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.001435/0.001435, allocations: 188.9 kB / 17.35 MB, free: 5.582 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8745/0.8766, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07867/0.9554, allocations: 75.25 MB / 1.3 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02122/0.9766, allocations: 15.17 MB / 1.315 GB, free: 2.797 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003796/0.9804, allocations: 67.62 kB / 1.315 GB, free: 2.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002762/0.9832, allocations: 0.8618 MB / 1.316 GB, free: 1.863 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007859/0.9912, allocations: 2.718 MB / 1.318 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.9952, allocations: 1.403 MB / 1.32 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006831/1.002, allocations: 4.393 MB / 1.324 GB, free: 9.336 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/1.005, allocations: 1.438 MB / 1.325 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/1.009, allocations: 1.682 MB / 1.327 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/1.012, allocations: 1.214 MB / 1.328 GB, free: 4.969 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005041/1.012, allocations: 164 kB / 1.328 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/1.016, allocations: 1.427 MB / 1.33 GB, free: 3.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006241/1.016, allocations: 394.7 kB / 1.33 GB, free: 2.992 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/1.018, allocations: 0.906 MB / 1.331 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/1.023, allocations: 2.888 MB / 1.334 GB, free: 15.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.023, allocations: 0 / 1.334 GB, free: 15.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/1.023, allocations: 0 / 1.334 GB, free: 15.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.507e-05/1.024, allocations: 4 kB / 1.334 GB, free: 15.18 MB / 1.061 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.004451/1.028, allocations: 2.147 MB / 1.336 GB, free: 12.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.028, allocations: 11.97 kB / 1.336 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/1.029, allocations: 235.7 kB / 1.336 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/1.032, allocations: 1.541 MB / 1.338 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/1.032, allocations: 78 kB / 1.338 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/1.032, allocations: 104 kB / 1.338 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/1.034, allocations: 1.096 MB / 1.339 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/1.034, allocations: 0 / 1.339 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/1.034, allocations: 47.94 kB / 1.339 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/1.034, allocations: 24 kB / 1.339 GB, free: 9.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/1.036, allocations: 0.8939 MB / 1.34 GB, free: 8.855 MB / 1.061 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.006579/1.043, allocations: 4.916 MB / 1.345 GB, free: 3.652 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.045, allocations: 0.6196 MB / 1.345 GB, free: 3.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/1.045, allocations: 362.2 kB / 1.346 GB, free: 2.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007991/1.046, allocations: 0.8238 MB / 1.346 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.046, allocations: 39.12 kB / 1.346 GB, free: 1.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=62): time 3.016e-06/1.046, allocations: 0 / 1.346 GB, free: 1.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=62): time 0.004885/1.051, allocations: 1.421 MB / 1.348 GB, free: 164 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.051, allocations: 59.97 kB / 1.348 GB, free: 88 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/1.053, allocations: 1.222 MB / 1.349 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/1.053, allocations: 37.7 kB / 1.349 GB, free: 14.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/1.054, allocations: 0.619 MB / 1.35 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.054, allocations: 226.1 kB / 1.35 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/1.054, allocations: 150.6 kB / 1.35 GB, free: 13.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.054, allocations: 338 kB / 1.35 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006594/1.055, allocations: 284.7 kB / 1.351 GB, free: 13.19 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/1.056, allocations: 0.492 MB / 1.351 GB, free: 12.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/1.057, allocations: 0.7004 MB / 1.352 GB, free: 11.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.057, allocations: 7.938 kB / 1.352 GB, free: 11.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004563/1.062, allocations: 1.274 MB / 1.353 GB, free: 10.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.062, allocations: 8 kB / 1.353 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.062, allocations: 4 kB / 1.353 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006873/1.063, allocations: 157 kB / 1.353 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/1.063, allocations: 159.8 kB / 1.353 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/1.064, allocations: 0.7162 MB / 1.354 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/1.066, allocations: 123.2 kB / 1.354 GB, free: 9.395 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/1.066, allocations: 39.92 kB / 1.354 GB, free: 9.355 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001124/1.067, allocations: 0.5527 MB / 1.355 GB, free: 8.797 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008361/1.068, allocations: 493.6 kB / 1.355 GB, free: 8.242 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001417/1.069, allocations: 0.7043 MB / 1.356 GB, free: 7.492 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/1.069, allocations: 0 / 1.356 GB, free: 7.492 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004663/1.074, allocations: 1.27 MB / 1.357 GB, free: 6.211 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.074, allocations: 7.984 kB / 1.357 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.074, allocations: 4 kB / 1.357 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/1.074, allocations: 153 kB / 1.357 GB, free: 6.047 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/1.075, allocations: 163.7 kB / 1.357 GB, free: 5.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007913/1.076, allocations: 0.7085 MB / 1.358 GB, free: 5.152 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.077, allocations: 103.6 kB / 1.358 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/1.077, allocations: 39.92 kB / 1.358 GB, free: 5.012 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.0002388/1.077, allocations: 224 kB / 1.358 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/1.078, allocations: 143.1 kB / 1.359 GB, free: 4.645 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004432/1.082, allocations: 1.252 MB / 1.36 GB, free: 3.379 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003767/1.086, allocations: 1.088 MB / 1.361 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.086, allocations: 0 / 1.361 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.086, allocations: 315.9 kB / 1.361 GB, free: 1.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.087, allocations: 12 kB / 1.361 GB, free: 1.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/1.088, allocations: 47.94 kB / 1.361 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.088, allocations: 44.44 kB / 1.361 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002577/1.09, allocations: 0.9757 MB / 1.362 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002411/1.093, allocations: 1.364 MB / 1.364 GB, free: 15.46 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006429/1.093, allocations: 328.2 kB / 1.364 GB, free: 15.14 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001268/1.095, allocations: 0.8616 MB / 1.365 GB, free: 14.28 MB / 1.092 GB Notification: Performance of Backend: time 6.21e-07/1.095, allocations: 4 kB / 1.365 GB, free: 14.28 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003879/1.099, allocations: 1.398 MB / 1.366 GB, free: 12.88 MB / 1.092 GB Notification: Performance of SimCode: time 0.00609/1.105, allocations: 3.203 MB / 1.369 GB, free: 9.637 MB / 1.092 GB Notification: Performance of Templates: time 0.05604/1.161, allocations: 33.91 MB / 1.402 GB, free: 8.039 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches