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 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.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.00159/0.00159, allocations: 106.6 kB / 16.41 MB, free: 6.504 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.001699/0.001699, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.538/2.538, allocations: 461.7 MB / 0.7352 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.84 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7756, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07307/0.8487, allocations: 75.24 MB / 1.282 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.8684, allocations: 15.17 MB / 1.297 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.871, allocations: 67.62 kB / 1.297 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.8736, allocations: 0.8345 MB / 1.297 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.8811, allocations: 2.585 MB / 1.3 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/0.8857, allocations: 1.396 MB / 1.301 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007793/0.8935, allocations: 4.399 MB / 1.306 GB, free: 9.625 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.8964, allocations: 1.449 MB / 1.307 GB, free: 8.148 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.9005, allocations: 1.63 MB / 1.309 GB, free: 6.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.9029, allocations: 1.216 MB / 1.31 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004704/0.9034, allocations: 164 kB / 1.31 GB, free: 5.141 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.9069, allocations: 1.419 MB / 1.311 GB, free: 3.719 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.9076, allocations: 402.6 kB / 1.312 GB, free: 3.324 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.9092, allocations: 0.9176 MB / 1.313 GB, free: 2.402 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004883/0.9141, allocations: 2.865 MB / 1.315 GB, free: 15.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9142, allocations: 4 kB / 1.315 GB, free: 15.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9142, allocations: 3.938 kB / 1.315 GB, free: 15.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.076e-05/0.9143, allocations: 0 / 1.315 GB, free: 15.52 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.005353/0.9196, allocations: 2.087 MB / 1.317 GB, free: 13.37 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.9197, allocations: 8.031 kB / 1.317 GB, free: 13.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.9208, allocations: 234.8 kB / 1.318 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.9238, allocations: 1.513 MB / 1.319 GB, free: 11.56 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.9239, allocations: 78 kB / 1.319 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/0.9241, allocations: 104 kB / 1.319 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.9262, allocations: 1.1 MB / 1.32 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.9263, allocations: 0 / 1.32 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.9264, allocations: 44 kB / 1.32 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.9264, allocations: 31.98 kB / 1.32 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.9284, allocations: 0.89 MB / 1.321 GB, free: 9.289 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.006372/0.9348, allocations: 4.911 MB / 1.326 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.9362, allocations: 0.608 MB / 1.327 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.937, allocations: 355.5 kB / 1.327 GB, free: 3.121 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/0.9377, allocations: 0.8354 MB / 1.328 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.9377, allocations: 39.12 kB / 1.328 GB, free: 2.055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 3.257e-06/0.9377, allocations: 0 / 1.328 GB, free: 2.055 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.004843/0.9426, allocations: 1.405 MB / 1.329 GB, free: 0.625 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.9426, allocations: 55.97 kB / 1.329 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.9445, allocations: 1.234 MB / 1.331 GB, free: 15.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.9446, allocations: 37.7 kB / 1.331 GB, free: 15.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.9451, allocations: 0.6066 MB / 1.331 GB, free: 14.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.9453, allocations: 224.7 kB / 1.331 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.9455, allocations: 154.6 kB / 1.332 GB, free: 14.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9457, allocations: 337.9 kB / 1.332 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.9463, allocations: 284.7 kB / 1.332 GB, free: 13.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.9472, allocations: 499.9 kB / 1.333 GB, free: 13.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.9486, allocations: 0.7119 MB / 1.333 GB, free: 12.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.9486, allocations: 3.938 kB / 1.333 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004558/0.9532, allocations: 1.265 MB / 1.335 GB, free: 11.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.9532, allocations: 8 kB / 1.335 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.9532, allocations: 384 / 1.335 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006768/0.9539, allocations: 152.7 kB / 1.335 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.9545, allocations: 155.8 kB / 1.335 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/0.9554, allocations: 0.7201 MB / 1.336 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9565, allocations: 115 kB / 1.336 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.9566, allocations: 39.94 kB / 1.336 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001115/0.9577, allocations: 0.5583 MB / 1.336 GB, free: 9.273 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008056/0.9585, allocations: 491.8 kB / 1.337 GB, free: 8.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001362/0.9599, allocations: 0.7004 MB / 1.337 GB, free: 7.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.9599, allocations: 0 / 1.337 GB, free: 7.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004497/0.9644, allocations: 1.265 MB / 1.339 GB, free: 6.699 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.9644, allocations: 6.188 kB / 1.339 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.9645, allocations: 4 kB / 1.339 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/0.9651, allocations: 157 kB / 1.339 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.9657, allocations: 155.8 kB / 1.339 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008179/0.9665, allocations: 0.7162 MB / 1.34 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.9676, allocations: 103.4 kB / 1.34 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.9677, allocations: 28 kB / 1.34 GB, free: 5.512 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.000248/0.9679, allocations: 228.2 kB / 1.34 GB, free: 5.281 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.9683, allocations: 134.4 kB / 1.34 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004484/0.9728, allocations: 1.256 MB / 1.341 GB, free: 3.871 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003909/0.9767, allocations: 1.092 MB / 1.342 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9767, allocations: 3.984 kB / 1.342 GB, free: 2.742 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006269/0.9773, allocations: 303.2 kB / 1.343 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.9776, allocations: 16 kB / 1.343 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.9784, allocations: 55.83 kB / 1.343 GB, free: 2.355 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.9785, allocations: 44.5 kB / 1.343 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002674/0.9812, allocations: 0.9716 MB / 1.344 GB, free: 1.328 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002403/0.9836, allocations: 1.352 MB / 1.345 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006671/0.9843, allocations: 320.2 kB / 1.345 GB, free: 15.65 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001256/0.9855, allocations: 0.8654 MB / 1.346 GB, free: 14.78 MB / 1.076 GB Notification: Performance of Backend: time 4.51e-07/0.9855, allocations: 0 / 1.346 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003808/0.9894, allocations: 1.391 MB / 1.348 GB, free: 13.39 MB / 1.076 GB Notification: Performance of SimCode: time 0.005467/0.9948, allocations: 3.171 MB / 1.351 GB, free: 10.18 MB / 1.076 GB Notification: Performance of Templates: time 0.05141/1.046, allocations: 33.66 MB / 1.384 GB, free: 8.848 MB / 1.107 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