Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_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_y_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.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_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_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.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_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007857/0.0007857, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008818/0.0008819, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.254 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.403/2.403, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003779, allocations: 15.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.734, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08014/0.8142, allocations: 73.5 MB / 1.027 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02215/0.8364, allocations: 15.05 MB / 1.042 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003089/0.8396, allocations: 59.62 kB / 1.042 GB, free: 6.5 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.8423, allocations: 0.6682 MB / 1.043 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.8506, allocations: 2.388 MB / 1.045 GB, free: 3.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.855, allocations: 1.273 MB / 1.046 GB, free: 2.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007846/0.8628, allocations: 5.562 MB / 1.052 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.8654, allocations: 1.167 MB / 1.053 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.8691, allocations: 1.326 MB / 1.054 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.8718, allocations: 1.159 MB / 1.055 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005004/0.8723, allocations: 52 kB / 1.056 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.8759, allocations: 1.263 MB / 1.057 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006407/0.8766, allocations: 278.7 kB / 1.057 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001813/0.8784, allocations: 0.8061 MB / 1.058 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.8822, allocations: 2.163 MB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8822, allocations: 0 / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8822, allocations: 0 / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.409e-05/0.8823, allocations: 0 / 1.06 GB, free: 4.32 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.00438/0.8867, allocations: 1.791 MB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8868, allocations: 12.03 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.8879, allocations: 238.8 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003277/0.8911, allocations: 1.512 MB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/0.8913, allocations: 78 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.8915, allocations: 100 kB / 1.064 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.894, allocations: 1.124 MB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.894, allocations: 3.938 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.8942, allocations: 43.98 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-05/0.8942, allocations: 24 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.8965, allocations: 0.9368 MB / 1.066 GB, free: 14.31 MB / 0.8262 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.007296/0.9038, allocations: 4.923 MB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.9053, allocations: 0.6353 MB / 1.071 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.9062, allocations: 371.5 kB / 1.071 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.9069, allocations: 0.8316 MB / 1.072 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.9069, allocations: 39.12 kB / 1.072 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 3.075e-06/0.907, allocations: 4 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.005505/0.9125, allocations: 1.522 MB / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.9125, allocations: 59.97 kB / 1.074 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.9148, allocations: 1.218 MB / 1.075 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.915, allocations: 41.7 kB / 1.075 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.9155, allocations: 0.5987 MB / 1.076 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.9158, allocations: 224.9 kB / 1.076 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.916, allocations: 61.69 kB / 1.076 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9161, allocations: 333.9 kB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007904/0.9169, allocations: 305.8 kB / 1.077 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/0.9179, allocations: 0.5116 MB / 1.077 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.9195, allocations: 0.7433 MB / 1.078 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9195, allocations: 8 kB / 1.078 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005478/0.925, allocations: 1.402 MB / 1.079 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/0.9252, allocations: 193.4 kB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.9253, allocations: 0 / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.9261, allocations: 164.7 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.9268, allocations: 163.8 kB / 1.08 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.9278, allocations: 0.7317 MB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.9293, allocations: 171 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.9295, allocations: 31.98 kB / 1.081 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.9295, allocations: 5.719 kB / 1.081 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00503/0.9345, allocations: 1.249 MB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.9346, allocations: 4 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/0.9353, allocations: 165.1 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.936, allocations: 159.7 kB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009384/0.9369, allocations: 0.7279 MB / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.9384, allocations: 161.2 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9385, allocations: 32 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008912/0.9394, allocations: 424.8 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/0.9399, allocations: 138.3 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/0.9451, allocations: 1.385 MB / 1.085 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.9451, allocations: 4 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9452, allocations: 4 kB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004562/0.9497, allocations: 1.221 MB / 1.086 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.9548, allocations: 2.368 MB / 1.088 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.9549, allocations: 4 kB / 1.088 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.9554, allocations: 120.3 kB / 1.088 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006336/0.956, allocations: 148.7 kB / 1.089 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.9561, allocations: 27.92 kB / 1.089 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009115/0.957, allocations: 0.7201 MB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.9571, allocations: 7.938 kB / 1.089 GB, free: 5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.9603, allocations: 1.462 MB / 1.091 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/0.9612, allocations: 335.1 kB / 1.091 GB, free: 3.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.9616, allocations: 15.98 kB / 1.091 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.9627, allocations: 103.9 kB / 1.091 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.9629, allocations: 56.25 kB / 1.091 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.963, allocations: 27.98 kB / 1.091 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001554/0.9645, allocations: 0.874 MB / 1.092 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9645, allocations: 0 / 1.092 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002477/0.967, allocations: 0.7057 MB / 1.093 GB, free: 1.34 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.9682, allocations: 455.2 kB / 1.093 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003146/0.9714, allocations: 1.168 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9714, allocations: 4 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.9725, allocations: 419.3 kB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/0.9776, allocations: 0.8009 MB / 1.096 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005346/0.983, allocations: 2.867 MB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009983/0.9841, allocations: 1.169 MB / 1.1 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.9847, allocations: 115.4 kB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of SimCode: time 1.694e-06/0.9847, allocations: 4 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of Templates: time 0.04781/1.033, allocations: 30.76 MB / 1.13 GB, free: 11.68 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches