Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.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.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.refCyc.refCycHeaPumHea.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.refCyc.sigBus.TConInMea|heaPum.refCyc.sigBus.TConOutMea|heaPum.refCyc.sigBus.TEvaInMea|heaPum.refCyc.sigBus.TEvaOutMea|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.refCyc.refCycHeaPumHea.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001328, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.001255/0.001255, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.91 kB / 1.07 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6891, allocations: 159.9 MB / 1.226 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness): time 0.08873/0.7779, allocations: 80.77 MB / 1.305 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.8046, allocations: 17.96 MB / 1.323 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/0.8081, allocations: 95.56 kB / 1.323 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.811, allocations: 1.157 MB / 1.324 GB, free: 9.129 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.8184, allocations: 2.872 MB / 1.327 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.8229, allocations: 1.781 MB / 1.329 GB, free: 4.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007614/0.8305, allocations: 5.314 MB / 1.334 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/0.8348, allocations: 2.49 MB / 1.336 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005036/0.8398, allocations: 2.107 MB / 1.338 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.8427, allocations: 1.591 MB / 1.34 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006973/0.8434, allocations: 288 kB / 1.34 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.8482, allocations: 1.969 MB / 1.342 GB, free: 6.641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.8492, allocations: 0.6268 MB / 1.343 GB, free: 6.012 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.8518, allocations: 1.361 MB / 1.344 GB, free: 4.645 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.8603, allocations: 4.7 MB / 1.349 GB, free: 15.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8604, allocations: 0 / 1.349 GB, free: 15.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8604, allocations: 4 kB / 1.349 GB, free: 15.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000115/0.8605, allocations: 0 / 1.349 GB, free: 15.93 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.006322/0.8668, allocations: 2.954 MB / 1.351 GB, free: 12.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.8669, allocations: 11.97 kB / 1.351 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.8686, allocations: 418.1 kB / 1.352 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.8725, allocations: 1.976 MB / 1.354 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.8726, allocations: 135.2 kB / 1.354 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.8729, allocations: 176 kB / 1.354 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.8762, allocations: 1.798 MB / 1.356 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.8763, allocations: 4 kB / 1.356 GB, free: 8.266 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.8764, allocations: 71.98 kB / 1.356 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.8765, allocations: 40 kB / 1.356 GB, free: 8.156 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.8795, allocations: 1.348 MB / 1.357 GB, free: 6.805 MB / 1.076 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.009899/0.8894, allocations: 7.517 MB / 1.365 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.8915, allocations: 0.9149 MB / 1.366 GB, free: 13.95 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.8925, allocations: 426 kB / 1.366 GB, free: 13.53 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.8935, allocations: 1.156 MB / 1.367 GB, free: 12.11 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.8935, allocations: 39.12 kB / 1.367 GB, free: 12.07 MB / 1.092 GB Notification: Performance of pre-optimization done (n=63): time 4.568e-06/0.8936, allocations: 0 / 1.367 GB, free: 12.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=63): time 0.007967/0.9015, allocations: 1.869 MB / 1.369 GB, free: 10.17 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.9016, allocations: 111.4 kB / 1.369 GB, free: 10.04 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.9042, allocations: 1.694 MB / 1.371 GB, free: 8.301 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9043, allocations: 41.7 kB / 1.371 GB, free: 8.254 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.9053, allocations: 1.007 MB / 1.372 GB, free: 7.238 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/0.9056, allocations: 226.1 kB / 1.372 GB, free: 7.016 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.9059, allocations: 194.5 kB / 1.372 GB, free: 6.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.9061, allocations: 345.9 kB / 1.372 GB, free: 6.477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009059/0.907, allocations: 360.6 kB / 1.373 GB, free: 6.121 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.9082, allocations: 0.6625 MB / 1.373 GB, free: 5.328 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.9102, allocations: 0.9409 MB / 1.374 GB, free: 4.285 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9103, allocations: 0 / 1.374 GB, free: 4.285 MB / 1.092 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005577/0.9158, allocations: 1.539 MB / 1.376 GB, free: 2.734 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9159, allocations: 12.09 kB / 1.376 GB, free: 2.723 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.9159, allocations: 8 kB / 1.376 GB, free: 2.715 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/0.9168, allocations: 196.6 kB / 1.376 GB, free: 2.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007888/0.9176, allocations: 195.7 kB / 1.376 GB, free: 2.328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.924, allocations: 2.867 MB / 1.379 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.9256, allocations: 167 kB / 1.379 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.9258, allocations: 47.97 kB / 1.379 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001682/0.9275, allocations: 0.7244 MB / 1.38 GB, free: 14.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001207/0.9287, allocations: 0.6547 MB / 1.381 GB, free: 13.6 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001969/0.9307, allocations: 0.9447 MB / 1.382 GB, free: 12.56 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.492e-06/0.9307, allocations: 4 kB / 1.382 GB, free: 12.55 MB / 1.107 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005613/0.9363, allocations: 1.539 MB / 1.383 GB, free: 11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9363, allocations: 8 kB / 1.383 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9363, allocations: 4 kB / 1.383 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.9371, allocations: 189.2 kB / 1.383 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.9379, allocations: 207.6 kB / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/0.9443, allocations: 2.864 MB / 1.386 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.9458, allocations: 139.5 kB / 1.386 GB, free: 7.469 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.822e-05/0.946, allocations: 43.98 kB / 1.386 GB, free: 7.426 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.9463, allocations: 247.9 kB / 1.387 GB, free: 7.176 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.9466, allocations: 186.8 kB / 1.387 GB, free: 6.992 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.9521, allocations: 1.461 MB / 1.388 GB, free: 5.531 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004706/0.9568, allocations: 1.226 MB / 1.389 GB, free: 4.266 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9568, allocations: 3.938 kB / 1.389 GB, free: 4.262 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008233/0.9577, allocations: 359.7 kB / 1.39 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.9579, allocations: 16 kB / 1.39 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/0.9588, allocations: 71.91 kB / 1.39 GB, free: 3.805 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.9589, allocations: 68.41 kB / 1.39 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00331/0.9622, allocations: 1.114 MB / 1.391 GB, free: 2.613 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003269/0.9655, allocations: 1.579 MB / 1.393 GB, free: 1.016 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000927/0.9665, allocations: 404.4 kB / 1.393 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00184/0.9683, allocations: 1.156 MB / 1.394 GB, free: 15.44 MB / 1.123 GB Notification: Performance of Backend: time 4.11e-07/0.9683, allocations: 0 / 1.394 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005076/0.9734, allocations: 2.029 MB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of SimCode: time 0.007832/0.9813, allocations: 4.259 MB / 1.4 GB, free: 9.086 MB / 1.123 GB Notification: Performance of Templates: time 0.07553/1.057, allocations: 44.38 MB / 1.444 GB, free: 13.16 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_ConstantCarnotEffectiveness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.ConstantCarnotEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches