Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001461/0.001461, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.414/1.414, 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.661/2.661, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 71.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8929, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.08136/0.9743, allocations: 75.24 MB / 1.282 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.9976, allocations: 15.18 MB / 1.297 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003468/1.001, allocations: 71.56 kB / 1.297 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003057/1.004, allocations: 0.8307 MB / 1.298 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008652/1.013, allocations: 2.585 MB / 1.3 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/1.018, allocations: 1.401 MB / 1.302 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007601/1.025, allocations: 4.392 MB / 1.306 GB, free: 9.559 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003159/1.028, allocations: 1.449 MB / 1.307 GB, free: 8.082 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005228/1.034, allocations: 1.673 MB / 1.309 GB, free: 6.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/1.037, allocations: 1.218 MB / 1.31 GB, free: 5.188 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000748/1.037, allocations: 160 kB / 1.31 GB, free: 5.031 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/1.042, allocations: 1.404 MB / 1.312 GB, free: 3.625 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000958/1.043, allocations: 394.6 kB / 1.312 GB, free: 3.238 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002338/1.045, allocations: 0.9099 MB / 1.313 GB, free: 2.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006507/1.052, allocations: 2.857 MB / 1.316 GB, free: 15.46 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.052, allocations: 3.984 kB / 1.316 GB, free: 15.46 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/1.052, allocations: 0 / 1.316 GB, free: 15.46 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.774e-05/1.052, allocations: 0 / 1.316 GB, free: 15.46 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.005817/1.058, allocations: 2.083 MB / 1.318 GB, free: 13.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.058, allocations: 12.03 kB / 1.318 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.059, allocations: 226.8 kB / 1.318 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/1.062, allocations: 1.521 MB / 1.319 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/1.062, allocations: 85.88 kB / 1.319 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002677/1.063, allocations: 100 kB / 1.32 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/1.065, allocations: 1.096 MB / 1.321 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/1.065, allocations: 0 / 1.321 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.066, allocations: 40 kB / 1.321 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/1.066, allocations: 31.92 kB / 1.321 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/1.068, allocations: 0.8978 MB / 1.322 GB, free: 9.219 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.008018/1.076, allocations: 4.888 MB / 1.326 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/1.077, allocations: 0.6197 MB / 1.327 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/1.078, allocations: 345.3 kB / 1.327 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/1.079, allocations: 0.8277 MB / 1.328 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/1.079, allocations: 43.11 kB / 1.328 GB, free: 2.016 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.685e-06/1.079, allocations: 0 / 1.328 GB, free: 2.016 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.007668/1.087, allocations: 1.693 MB / 1.33 GB, free: 304 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.087, allocations: 63.95 kB / 1.33 GB, free: 228 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/1.089, allocations: 1.226 MB / 1.331 GB, free: 14.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/1.089, allocations: 41.7 kB / 1.331 GB, free: 14.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/1.09, allocations: 0.5987 MB / 1.332 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/1.09, allocations: 216.8 kB / 1.332 GB, free: 14.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.091, allocations: 154.6 kB / 1.332 GB, free: 13.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.091, allocations: 330 kB / 1.332 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/1.091, allocations: 292.7 kB / 1.333 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009648/1.092, allocations: 0.4928 MB / 1.333 GB, free: 12.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/1.094, allocations: 0.7166 MB / 1.334 GB, free: 12.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/1.094, allocations: 0 / 1.334 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005103/1.099, allocations: 1.281 MB / 1.335 GB, free: 10.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.099, allocations: 8 kB / 1.335 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.099, allocations: 4 kB / 1.335 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.1, allocations: 129.1 kB / 1.335 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/1.1, allocations: 167.8 kB / 1.335 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009266/1.101, allocations: 0.7122 MB / 1.336 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.103, allocations: 115.1 kB / 1.336 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.103, allocations: 35.98 kB / 1.336 GB, free: 9.523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001291/1.104, allocations: 0.5527 MB / 1.337 GB, free: 8.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009244/1.105, allocations: 492.7 kB / 1.337 GB, free: 8.406 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001508/1.107, allocations: 0.7051 MB / 1.338 GB, free: 7.648 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/1.107, allocations: 0 / 1.338 GB, free: 7.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005206/1.112, allocations: 1.273 MB / 1.339 GB, free: 6.363 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.112, allocations: 8 kB / 1.339 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.112, allocations: 0 / 1.339 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/1.112, allocations: 133.1 kB / 1.339 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/1.113, allocations: 167.6 kB / 1.339 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009121/1.114, allocations: 0.7007 MB / 1.34 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.115, allocations: 107.4 kB / 1.34 GB, free: 5.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.115, allocations: 32 kB / 1.34 GB, free: 5.195 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003095/1.116, allocations: 225.6 kB / 1.34 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/1.116, allocations: 134.4 kB / 1.341 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/1.121, allocations: 1.267 MB / 1.342 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.121, allocations: 12 kB / 1.342 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.121, allocations: 0 / 1.342 GB, free: 3.535 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004333/1.126, allocations: 1.107 MB / 1.343 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/1.133, allocations: 2.614 MB / 1.345 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/1.133, allocations: 8.375 kB / 1.345 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/1.134, allocations: 115.9 kB / 1.346 GB, free: 15.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/1.134, allocations: 128.7 kB / 1.346 GB, free: 15.42 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/1.134, allocations: 16 kB / 1.346 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/1.14, allocations: 2.63 MB / 1.348 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.14, allocations: 8 kB / 1.348 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/1.146, allocations: 1.699 MB / 1.35 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007909/1.147, allocations: 303.2 kB / 1.35 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/1.147, allocations: 19.98 kB / 1.35 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.148, allocations: 63.94 kB / 1.35 GB, free: 10.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.148, allocations: 56.25 kB / 1.35 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/1.148, allocations: 31.97 kB / 1.35 GB, free: 10.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001566/1.15, allocations: 0.8818 MB / 1.351 GB, free: 9.473 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.15, allocations: 0 / 1.351 GB, free: 9.473 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002406/1.152, allocations: 0.7174 MB / 1.352 GB, free: 8.754 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/1.153, allocations: 472 kB / 1.352 GB, free: 8.297 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.156, allocations: 1.121 MB / 1.354 GB, free: 7.18 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.156, allocations: 0 / 1.354 GB, free: 7.18 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.158, allocations: 0.5604 MB / 1.354 GB, free: 6.609 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.162, allocations: 0.7837 MB / 1.355 GB, free: 5.832 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/1.167, allocations: 2.301 MB / 1.357 GB, free: 3.445 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/1.168, allocations: 1.176 MB / 1.358 GB, free: 2.242 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/1.168, allocations: 111.4 kB / 1.358 GB, free: 2.133 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/1.168, allocations: 0 / 1.358 GB, free: 2.133 MB / 1.076 GB Notification: Performance of Templates: time 0.04835/1.216, allocations: 31.34 MB / 1.389 GB, free: 2.98 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches