Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_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_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.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_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009259/0.000926, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003163, allocations: 8 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6943, allocations: 142.4 MB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.0629/0.7572, allocations: 69.45 MB / 1.022 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7758, allocations: 14.17 MB / 1.036 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.7781, allocations: 55.62 kB / 1.036 GB, free: 11.62 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.78, allocations: 0.5744 MB / 1.037 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/0.7856, allocations: 1.978 MB / 1.039 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.7884, allocations: 0.9783 MB / 1.04 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005597/0.794, allocations: 4.82 MB / 1.044 GB, free: 3.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.7956, allocations: 1.027 MB / 1.045 GB, free: 2.207 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.798, allocations: 1.275 MB / 1.047 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.7996, allocations: 1.085 MB / 1.048 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.7998, allocations: 56 kB / 1.048 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.8021, allocations: 0.9238 MB / 1.049 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.8024, allocations: 270.7 kB / 1.049 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.8029, allocations: 356.9 kB / 1.049 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.8051, allocations: 2.081 MB / 1.051 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8051, allocations: 0 / 1.051 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8051, allocations: 0 / 1.051 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.8051, allocations: 0 / 1.051 GB, free: 12.15 MB / 0.8106 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.003044/0.8081, allocations: 1.803 MB / 1.053 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.8082, allocations: 8.031 kB / 1.053 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.8089, allocations: 241.9 kB / 1.053 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.8112, allocations: 1.455 MB / 1.055 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.8112, allocations: 74 kB / 1.055 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.8114, allocations: 104 kB / 1.055 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.8133, allocations: 1.112 MB / 1.056 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.8134, allocations: 3.938 kB / 1.056 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.8135, allocations: 43.95 kB / 1.056 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.8135, allocations: 24 kB / 1.056 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.8153, allocations: 0.9251 MB / 1.057 GB, free: 6.207 MB / 0.8106 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.005538/0.8209, allocations: 4.908 MB / 1.062 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.8222, allocations: 0.6398 MB / 1.062 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.8229, allocations: 366.3 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/0.8235, allocations: 0.8277 MB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.8236, allocations: 43.08 kB / 1.063 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.414e-06/0.8236, allocations: 0 / 1.063 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006581/0.8302, allocations: 1.9 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.8302, allocations: 55.97 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.8319, allocations: 1.202 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.832, allocations: 41.64 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.8325, allocations: 0.6026 MB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.8328, allocations: 220.9 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.8328, allocations: 16 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.8329, allocations: 330 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.8336, allocations: 297.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.8343, allocations: 0.5045 MB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.835, allocations: 359 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.835, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004248/0.8393, allocations: 1.394 MB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.8394, allocations: 202.2 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.8394, allocations: 0 / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/0.84, allocations: 144.8 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.8406, allocations: 171.8 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007743/0.8414, allocations: 0.72 MB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.8425, allocations: 163.1 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.8426, allocations: 39.98 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.8426, allocations: 7.953 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004005/0.8466, allocations: 1.241 MB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8466, allocations: 4.375 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.8471, allocations: 152.7 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.8477, allocations: 163.7 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007451/0.8485, allocations: 0.7124 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.8496, allocations: 159.1 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.299e-05/0.8497, allocations: 35.98 kB / 1.074 GB, free: 3.863 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006873/0.8504, allocations: 420.9 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.8506, allocations: 134.4 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/0.8549, allocations: 1.4 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.855, allocations: 8 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.855, allocations: 7.875 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003764/0.8587, allocations: 1.228 MB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.8648, allocations: 2.739 MB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8649, allocations: 448 / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.8653, allocations: 127.8 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.8658, allocations: 136.7 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.8659, allocations: 16 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.8702, allocations: 2.486 MB / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.8702, allocations: 4 kB / 1.082 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.8751, allocations: 1.855 MB / 1.084 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.8757, allocations: 331 kB / 1.085 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.8759, allocations: 20 kB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.8767, allocations: 96 kB / 1.085 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.8768, allocations: 60.31 kB / 1.085 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.8769, allocations: 31.92 kB / 1.085 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001229/0.8781, allocations: 0.8623 MB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8781, allocations: 0 / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001802/0.8799, allocations: 0.7095 MB / 1.086 GB, free: 6.805 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007482/0.8807, allocations: 432.5 kB / 1.087 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.8832, allocations: 1.164 MB / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8832, allocations: 0 / 1.088 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.8845, allocations: 0.5995 MB / 1.088 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/0.8877, allocations: 0.7541 MB / 1.089 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.8916, allocations: 2.77 MB / 1.092 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.8924, allocations: 1.187 MB / 1.093 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001256/0.8937, allocations: 303 kB / 1.093 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.894, allocations: 111.4 kB / 1.093 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of SimCode: time 1.092e-06/0.894, allocations: 0 / 1.093 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of Templates: time 0.049/0.943, allocations: 29.39 MB / 1.122 GB, free: 2.363 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches