Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 91.61 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.0009271/0.000927, 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.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.43 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.336/2.336, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003451, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6334, allocations: 142.4 MB / 0.9544 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05035/0.6838, allocations: 56.56 MB / 1.01 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.6995, allocations: 11.23 MB / 1.021 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.7015, allocations: 51.62 kB / 1.021 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.703, allocations: 464.9 kB / 1.021 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004527/0.7075, allocations: 1.519 MB / 1.023 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.7099, allocations: 0.8579 MB / 1.023 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004574/0.7145, allocations: 3.394 MB / 1.027 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.716, allocations: 0.7899 MB / 1.028 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/0.7185, allocations: 1.038 MB / 1.029 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.7198, allocations: 0.805 MB / 1.029 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.72, allocations: 40 kB / 1.029 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.7224, allocations: 1.111 MB / 1.03 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.7226, allocations: 207 kB / 1.031 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.723, allocations: 281 kB / 1.031 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.7251, allocations: 1.643 MB / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.7252, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.725e-06/0.7252, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.7252, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 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.002914/0.7281, allocations: 1.498 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7282, allocations: 8.031 kB / 1.034 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.7302, allocations: 477.9 kB / 1.034 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.7324, allocations: 1.086 MB / 1.036 GB, free: 12.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/0.7327, allocations: 129.9 kB / 1.036 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.7328, allocations: 80 kB / 1.036 GB, free: 12.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.7348, allocations: 1.001 MB / 1.037 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.7348, allocations: 4 kB / 1.037 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.7349, allocations: 32 kB / 1.037 GB, free: 10.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.735, allocations: 20 kB / 1.037 GB, free: 10.96 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.7372, allocations: 0.9211 MB / 1.038 GB, free: 10.04 MB / 0.795 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.005743/0.7429, allocations: 4.895 MB / 1.042 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.746, allocations: 0.8954 MB / 1.043 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/0.7467, allocations: 321.9 kB / 1.044 GB, free: 3.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/0.7473, allocations: 0.9103 MB / 1.044 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.7474, allocations: 34.56 kB / 1.045 GB, free: 2.414 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.404e-06/0.7474, allocations: 0 / 1.045 GB, free: 2.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.007811/0.7552, allocations: 2.165 MB / 1.047 GB, free: 224 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.7553, allocations: 63.36 kB / 1.047 GB, free: 148 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.7568, allocations: 1.04 MB / 1.048 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.7569, allocations: 37.7 kB / 1.048 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.7573, allocations: 0.5274 MB / 1.048 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.7574, allocations: 149.8 kB / 1.048 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.7575, allocations: 12 kB / 1.048 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7576, allocations: 322 kB / 1.049 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008128/0.7584, allocations: 324.9 kB / 1.049 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.7594, allocations: 0.533 MB / 1.05 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/0.7603, allocations: 359.5 kB / 1.05 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.7603, allocations: 7.938 kB / 1.05 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002452/0.7627, allocations: 1.039 MB / 1.051 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.7629, allocations: 208.5 kB / 1.051 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7629, allocations: 4 kB / 1.051 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.7642, allocations: 340.6 kB / 1.051 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.7647, allocations: 123.9 kB / 1.052 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.7661, allocations: 0.9412 MB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.7674, allocations: 195.3 kB / 1.053 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.7675, allocations: 31.94 kB / 1.053 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.7675, allocations: 4 kB / 1.053 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/0.7697, allocations: 0.9099 MB / 1.054 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7697, allocations: 7.984 kB / 1.054 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/0.7707, allocations: 325.1 kB / 1.054 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.7712, allocations: 131.8 kB / 1.054 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.7725, allocations: 0.9309 MB / 1.055 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.7736, allocations: 171.4 kB / 1.055 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.7737, allocations: 31.95 kB / 1.055 GB, free: 7.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005106/0.7742, allocations: 349.5 kB / 1.055 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.7743, allocations: 110.6 kB / 1.056 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.7778, allocations: 1.215 MB / 1.057 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.7779, allocations: 7.953 kB / 1.057 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7779, allocations: 0 / 1.057 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.7779, allocations: 3.984 kB / 1.057 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004763/0.7827, allocations: 2.285 MB / 1.059 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7827, allocations: 0 / 1.059 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.783, allocations: 71.89 kB / 1.059 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.784, allocations: 330.2 kB / 1.059 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.784, allocations: 19.98 kB / 1.059 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.7854, allocations: 0.9621 MB / 1.06 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.7854, allocations: 12.05 kB / 1.06 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.7886, allocations: 1.282 MB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.7891, allocations: 279.4 kB / 1.062 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.7892, allocations: 16 kB / 1.062 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.7901, allocations: 103.9 kB / 1.062 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.7902, allocations: 51.77 kB / 1.062 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.7902, allocations: 23.98 kB / 1.062 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001099/0.7913, allocations: 0.735 MB / 1.063 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7913, allocations: 0 / 1.063 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0015/0.7929, allocations: 0.5613 MB / 1.063 GB, free: 14.65 MB / 0.8262 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 (34): * Single equations (assignments): 29 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007275/0.7936, allocations: 374.3 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002999/0.7966, allocations: 1.176 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7966, allocations: 3.938 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.7975, allocations: 370.2 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7998, allocations: 0.5045 MB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.8052, allocations: 2.492 MB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.8057, allocations: 1.065 MB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009358/0.8067, allocations: 215.5 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.8069, allocations: 75.41 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of SimCode: time 6.62e-07/0.8069, allocations: 0 / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of Templates: time 0.03914/0.846, allocations: 23.17 MB / 1.092 GB, free: 1.414 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches