Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.00107/0.00107, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001305/0.001305, allocations: 172.7 kB / 15.95 MB, free: 204 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.714/2.714, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003479, allocations: 10.62 kB / 0.9021 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05531/0.316, allocations: 56.55 MB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.3312, allocations: 11.21 MB / 1.124 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.3328, allocations: 51.62 kB / 1.124 GB, free: 1.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.3342, allocations: 472.8 kB / 1.125 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.3382, allocations: 1.531 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3407, allocations: 0.8557 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.3446, allocations: 3.39 MB / 1.13 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.3458, allocations: 0.7938 MB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.3477, allocations: 1.038 MB / 1.132 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3487, allocations: 0.7972 MB / 1.133 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3489, allocations: 40 kB / 1.133 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.3511, allocations: 1.111 MB / 1.134 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.3513, allocations: 199 kB / 1.134 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.3516, allocations: 281.1 kB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3535, allocations: 1.645 MB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3535, allocations: 0 / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3535, allocations: 0 / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.3535, allocations: 0 / 1.136 GB, free: 5.164 MB / 0.8887 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.002531/0.3561, allocations: 1.508 MB / 1.138 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3561, allocations: 8.031 kB / 1.138 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.3582, allocations: 469.9 kB / 1.138 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.3602, allocations: 1.09 MB / 1.139 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.3605, allocations: 129.9 kB / 1.139 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.3607, allocations: 80 kB / 1.139 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3627, allocations: 1.001 MB / 1.14 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3627, allocations: 4 kB / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.461e-05/0.3628, allocations: 32 kB / 1.14 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.3628, allocations: 20 kB / 1.14 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.3651, allocations: 0.9172 MB / 1.141 GB, free: 15.76 MB / 0.9044 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.006072/0.3712, allocations: 4.902 MB / 1.146 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.3745, allocations: 0.904 MB / 1.147 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.3752, allocations: 329.8 kB / 1.147 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006289/0.3759, allocations: 0.9064 MB / 1.148 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3759, allocations: 42.5 kB / 1.148 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.3759, allocations: 0 / 1.148 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.008203/0.3841, allocations: 2.156 MB / 1.15 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3842, allocations: 63.36 kB / 1.15 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.3857, allocations: 1.048 MB / 1.151 GB, free: 4.773 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.3858, allocations: 37.7 kB / 1.151 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.3862, allocations: 0.5235 MB / 1.152 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3864, allocations: 141.9 kB / 1.152 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3864, allocations: 15.94 kB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3865, allocations: 337.9 kB / 1.152 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.3874, allocations: 320.9 kB / 1.153 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.3884, allocations: 0.5294 MB / 1.153 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.3894, allocations: 351.5 kB / 1.153 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.3894, allocations: 4 kB / 1.153 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002612/0.392, allocations: 1.039 MB / 1.154 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3922, allocations: 212.1 kB / 1.155 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3922, allocations: 4 kB / 1.155 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.3935, allocations: 339.1 kB / 1.155 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.394, allocations: 131.8 kB / 1.155 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3955, allocations: 0.9387 MB / 1.156 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.3967, allocations: 187.2 kB / 1.156 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.3968, allocations: 31.98 kB / 1.156 GB, free: 15.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.3968, allocations: 5.875 kB / 1.156 GB, free: 15.47 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002402/0.3992, allocations: 0.9176 MB / 1.157 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3993, allocations: 4 kB / 1.157 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.4004, allocations: 340.9 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/0.4009, allocations: 119.9 kB / 1.158 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.4023, allocations: 0.9408 MB / 1.159 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.4034, allocations: 167.4 kB / 1.159 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.4035, allocations: 27.98 kB / 1.159 GB, free: 12.94 MB / 0.92 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.0004922/0.404, allocations: 360.9 kB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4042, allocations: 110.7 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.4079, allocations: 1.205 MB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.4079, allocations: 8 kB / 1.16 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4079, allocations: 3.938 kB / 1.16 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.408, allocations: 0 / 1.16 GB, free: 11.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.413, allocations: 2.281 MB / 1.163 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.413, allocations: 0 / 1.163 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.4133, allocations: 75.89 kB / 1.163 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.4144, allocations: 336.5 kB / 1.163 GB, free: 8.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.4144, allocations: 19.95 kB / 1.163 GB, free: 8.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.4159, allocations: 0.9673 MB / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4159, allocations: 0 / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/0.4194, allocations: 1.279 MB / 1.165 GB, free: 6.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.4199, allocations: 287.4 kB / 1.165 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.42, allocations: 16 kB / 1.165 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/0.4209, allocations: 115.8 kB / 1.166 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.421, allocations: 35.89 kB / 1.166 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.4211, allocations: 23.98 kB / 1.166 GB, free: 5.637 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001168/0.4223, allocations: 0.735 MB / 1.166 GB, free: 4.895 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4223, allocations: 3.938 kB / 1.166 GB, free: 4.891 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001542/0.4238, allocations: 0.5574 MB / 1.167 GB, free: 4.332 MB / 0.92 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.0007119/0.4245, allocations: 379.9 kB / 1.167 GB, free: 3.961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003156/0.4277, allocations: 1.165 MB / 1.168 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4277, allocations: 0 / 1.168 GB, free: 2.801 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008977/0.4286, allocations: 375.1 kB / 1.169 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.431, allocations: 0.4939 MB / 1.169 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.4364, allocations: 2.489 MB / 1.172 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.4371, allocations: 1.061 MB / 1.173 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001003/0.4381, allocations: 228 kB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.4383, allocations: 75.42 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/0.4383, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9356 GB Notification: Performance of Templates: time 0.03869/0.477, allocations: 23.18 MB / 1.196 GB, free: 7.094 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches