Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,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.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,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.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108.4 kB / 16.41 MB, free: 6.492 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.001481/0.001481, allocations: 185.5 kB / 17.34 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.89 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8842, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06142/0.9456, allocations: 61.21 MB / 1.268 GB, free: 268 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.9645, allocations: 12 MB / 1.28 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.9673, allocations: 63.56 kB / 1.28 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.97, allocations: 0.6791 MB / 1.281 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.9766, allocations: 1.963 MB / 1.283 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.9803, allocations: 1.216 MB / 1.284 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00514/0.9855, allocations: 3.079 MB / 1.287 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.9877, allocations: 1.096 MB / 1.288 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.9917, allocations: 1.368 MB / 1.289 GB, free: 10.72 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.9938, allocations: 0.8906 MB / 1.29 GB, free: 9.828 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.9943, allocations: 116 kB / 1.29 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.9979, allocations: 1.439 MB / 1.292 GB, free: 8.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005707/0.9985, allocations: 294.8 kB / 1.292 GB, free: 7.984 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001606/1, allocations: 0.6919 MB / 1.292 GB, free: 7.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005297/1.005, allocations: 2.288 MB / 1.295 GB, free: 4.996 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.005, allocations: 0 / 1.295 GB, free: 4.996 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.465e-06/1.005, allocations: 0 / 1.295 GB, free: 4.996 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.116e-05/1.006, allocations: 0 / 1.295 GB, free: 4.996 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004344/1.01, allocations: 1.722 MB / 1.296 GB, free: 3.211 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.01, allocations: 8.031 kB / 1.296 GB, free: 3.203 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/1.012, allocations: 406.8 kB / 1.297 GB, free: 2.805 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/1.015, allocations: 1.16 MB / 1.298 GB, free: 1.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/1.015, allocations: 66 kB / 1.298 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/1.015, allocations: 80 kB / 1.298 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/1.018, allocations: 1.005 MB / 1.299 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.018, allocations: 0 / 1.299 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.761e-05/1.018, allocations: 32 kB / 1.299 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.018, allocations: 23.94 kB / 1.299 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/1.02, allocations: 0.8548 MB / 1.3 GB, free: 15.47 MB / 1.029 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.009101/1.03, allocations: 5.227 MB / 1.305 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/1.033, allocations: 0.7803 MB / 1.306 GB, free: 9.078 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/1.034, allocations: 294.4 kB / 1.306 GB, free: 8.789 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/1.034, allocations: 0.9102 MB / 1.307 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.035, allocations: 34.56 kB / 1.307 GB, free: 7.633 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.785e-06/1.035, allocations: 0 / 1.307 GB, free: 7.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.00845/1.043, allocations: 1.856 MB / 1.309 GB, free: 5.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/1.043, allocations: 59.41 kB / 1.309 GB, free: 5.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/1.045, allocations: 1.076 MB / 1.31 GB, free: 4.586 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.045, allocations: 37.7 kB / 1.31 GB, free: 4.543 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004678/1.046, allocations: 0.5311 MB / 1.31 GB, free: 4.008 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/1.046, allocations: 149.8 kB / 1.311 GB, free: 3.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.046, allocations: 138.2 kB / 1.311 GB, free: 3.715 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.046, allocations: 326 kB / 1.311 GB, free: 3.391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/1.047, allocations: 307.3 kB / 1.311 GB, free: 3.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.048, allocations: 0.5346 MB / 1.312 GB, free: 2.453 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/1.05, allocations: 0.7135 MB / 1.313 GB, free: 1.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.05, allocations: 0 / 1.313 GB, free: 1.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002819/1.053, allocations: 1.02 MB / 1.314 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.053, allocations: 4 kB / 1.314 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.053, allocations: 8 kB / 1.314 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/1.054, allocations: 308.7 kB / 1.314 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/1.055, allocations: 127.8 kB / 1.314 GB, free: 200 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/1.056, allocations: 0.9034 MB / 1.315 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.057, allocations: 155.2 kB / 1.315 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/1.057, allocations: 31.98 kB / 1.315 GB, free: 15.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/1.059, allocations: 0.5128 MB / 1.316 GB, free: 14.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001025/1.06, allocations: 0.5346 MB / 1.316 GB, free: 13.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001619/1.061, allocations: 0.71 MB / 1.317 GB, free: 13.15 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/1.061, allocations: 4 kB / 1.317 GB, free: 13.15 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002753/1.064, allocations: 0.9966 MB / 1.318 GB, free: 12.14 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.064, allocations: 11.94 kB / 1.318 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.064, allocations: 8 kB / 1.318 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/1.065, allocations: 293.7 kB / 1.318 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/1.066, allocations: 131.8 kB / 1.318 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/1.067, allocations: 0.8949 MB / 1.319 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.069, allocations: 131.5 kB / 1.319 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/1.069, allocations: 35.98 kB / 1.319 GB, free: 10.62 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002954/1.069, allocations: 220 kB / 1.319 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/1.069, allocations: 114.7 kB / 1.32 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/1.073, allocations: 1.09 MB / 1.321 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.073, allocations: 4 kB / 1.321 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.073, allocations: 3.938 kB / 1.321 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.073, allocations: 0 / 1.321 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/1.078, allocations: 2.15 MB / 1.323 GB, free: 6.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/1.078, allocations: 8.219 kB / 1.323 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.079, allocations: 59.95 kB / 1.323 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/1.08, allocations: 290.6 kB / 1.323 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/1.08, allocations: 19.98 kB / 1.323 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/1.081, allocations: 0.9243 MB / 1.324 GB, free: 5.617 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.081, allocations: 7.938 kB / 1.324 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/1.085, allocations: 1.148 MB / 1.325 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006075/1.086, allocations: 263.5 kB / 1.325 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/1.086, allocations: 16 kB / 1.325 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008033/1.087, allocations: 67.92 kB / 1.325 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/1.087, allocations: 39.83 kB / 1.325 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/1.087, allocations: 27.92 kB / 1.325 GB, free: 3.988 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001192/1.088, allocations: 0.7512 MB / 1.326 GB, free: 3.23 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.603e-06/1.088, allocations: 0 / 1.326 GB, free: 3.23 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001647/1.09, allocations: 0.5692 MB / 1.327 GB, free: 2.66 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008748/1.09, allocations: 376.5 kB / 1.327 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003302/1.094, allocations: 1.126 MB / 1.328 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.094, allocations: 0 / 1.328 GB, free: 1.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/1.095, allocations: 346.8 kB / 1.329 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.097, allocations: 0.5101 MB / 1.329 GB, free: 340 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/1.102, allocations: 2.04 MB / 1.331 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/1.103, allocations: 1.061 MB / 1.332 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.103, allocations: 83.42 kB / 1.332 GB, free: 13.05 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/1.103, allocations: 0 / 1.332 GB, free: 13.05 MB / 1.061 GB Notification: Performance of Templates: time 0.03381/1.137, allocations: 24.12 MB / 1.356 GB, free: 5.086 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches