Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.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.Carnot_y,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.ModularReversible.Validation.Comparative.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,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.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.001364/0.001364, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 67.89 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6938/0.6956, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.08081/0.7765, allocations: 75.43 MB / 1.3 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.7958, allocations: 12.81 MB / 1.313 GB, free: 4.969 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.7982, allocations: 67.62 kB / 1.313 GB, free: 4.902 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.8009, allocations: 0.8579 MB / 1.313 GB, free: 4.039 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007275/0.8082, allocations: 2.609 MB / 1.316 GB, free: 1.422 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.8119, allocations: 1.401 MB / 1.317 GB, free: 32 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006391/0.8183, allocations: 4.427 MB / 1.322 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.8206, allocations: 1.449 MB / 1.323 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.8246, allocations: 1.664 MB / 1.325 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.8267, allocations: 1.202 MB / 1.326 GB, free: 7.234 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.827, allocations: 164 kB / 1.326 GB, free: 7.074 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/0.8301, allocations: 1.412 MB / 1.327 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004376/0.8305, allocations: 398.6 kB / 1.328 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.8317, allocations: 0.9215 MB / 1.329 GB, free: 4.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.8359, allocations: 2.909 MB / 1.332 GB, free: 1.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8359, allocations: 0 / 1.332 GB, free: 1.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8359, allocations: 4 kB / 1.332 GB, free: 1.426 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.882e-05/0.8359, allocations: 0 / 1.332 GB, free: 1.426 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.003998/0.84, allocations: 2.163 MB / 1.334 GB, free: 15.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.84, allocations: 8.031 kB / 1.334 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.8408, allocations: 243.7 kB / 1.334 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.8436, allocations: 1.561 MB / 1.335 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.287e-05/0.8436, allocations: 74 kB / 1.336 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.8438, allocations: 104 kB / 1.336 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.8459, allocations: 1.1 MB / 1.337 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.846, allocations: 3.953 kB / 1.337 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.8461, allocations: 36 kB / 1.337 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.8461, allocations: 35.94 kB / 1.337 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.8482, allocations: 0.8861 MB / 1.338 GB, free: 11.07 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.006951/0.8551, allocations: 4.956 MB / 1.342 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.8567, allocations: 0.5963 MB / 1.343 GB, free: 5.219 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.8575, allocations: 350.3 kB / 1.343 GB, free: 4.875 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/0.8583, allocations: 0.8277 MB / 1.344 GB, free: 3.863 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.8583, allocations: 39.12 kB / 1.344 GB, free: 3.816 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 2.836e-06/0.8583, allocations: 0 / 1.344 GB, free: 3.816 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.007841/0.8662, allocations: 1.725 MB / 1.346 GB, free: 2.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.8663, allocations: 59.97 kB / 1.346 GB, free: 1.996 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.8683, allocations: 1.255 MB / 1.347 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.8684, allocations: 41.7 kB / 1.347 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.869, allocations: 0.6154 MB / 1.348 GB, free: 60 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.8693, allocations: 230 kB / 1.348 GB, free: 15.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.8695, allocations: 158.6 kB / 1.348 GB, free: 15.67 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8697, allocations: 330 kB / 1.349 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007072/0.8704, allocations: 284.7 kB / 1.349 GB, free: 15.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009528/0.8714, allocations: 0.4929 MB / 1.349 GB, free: 14.49 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.8729, allocations: 0.6973 MB / 1.35 GB, free: 13.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8729, allocations: 7.938 kB / 1.35 GB, free: 13.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00477/0.8777, allocations: 1.278 MB / 1.351 GB, free: 12.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.8777, allocations: 9.406 kB / 1.351 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.8778, allocations: 4 kB / 1.351 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.8784, allocations: 141 kB / 1.351 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/0.879, allocations: 163.8 kB / 1.352 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009039/0.88, allocations: 0.7045 MB / 1.352 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.881, allocations: 123.3 kB / 1.352 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.8811, allocations: 31.98 kB / 1.352 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/0.8823, allocations: 0.5527 MB / 1.353 GB, free: 10.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000929/0.8832, allocations: 494.4 kB / 1.353 GB, free: 10.13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00147/0.8847, allocations: 0.7012 MB / 1.354 GB, free: 9.383 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/0.8847, allocations: 0 / 1.354 GB, free: 9.383 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004815/0.8895, allocations: 1.274 MB / 1.355 GB, free: 8.098 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.8896, allocations: 4 kB / 1.355 GB, free: 8.094 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8896, allocations: 4 kB / 1.355 GB, free: 8.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.8901, allocations: 153.1 kB / 1.355 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.8908, allocations: 151.8 kB / 1.356 GB, free: 7.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/0.8917, allocations: 0.7123 MB / 1.356 GB, free: 7.051 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.8928, allocations: 103.5 kB / 1.356 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.8929, allocations: 36.06 kB / 1.356 GB, free: 6.914 MB / 1.076 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.0002678/0.8932, allocations: 224 kB / 1.357 GB, free: 6.688 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.8935, allocations: 143.1 kB / 1.357 GB, free: 6.547 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.8985, allocations: 1.263 MB / 1.358 GB, free: 5.277 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004343/0.9029, allocations: 1.095 MB / 1.359 GB, free: 4.148 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.9029, allocations: 0 / 1.359 GB, free: 4.148 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/0.9036, allocations: 312 kB / 1.359 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.9039, allocations: 15.94 kB / 1.359 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/0.9047, allocations: 55.86 kB / 1.359 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9049, allocations: 52.47 kB / 1.36 GB, free: 3.703 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002909/0.9078, allocations: 0.9561 MB / 1.36 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002671/0.9105, allocations: 1.308 MB / 1.362 GB, free: 1.414 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007454/0.9112, allocations: 328.3 kB / 1.362 GB, free: 1.094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00147/0.9127, allocations: 0.8779 MB / 1.363 GB, free: 220 kB / 1.076 GB Notification: Performance of Backend: time 3.11e-07/0.9127, allocations: 3.938 kB / 1.363 GB, free: 216 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004063/0.9168, allocations: 1.402 MB / 1.364 GB, free: 14.82 MB / 1.092 GB Notification: Performance of SimCode: time 0.006519/0.9233, allocations: 3.233 MB / 1.367 GB, free: 11.54 MB / 1.092 GB Notification: Performance of Templates: time 0.05947/0.9828, allocations: 34.98 MB / 1.402 GB, free: 8.926 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches