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.001116/0.001116, allocations: 97.78 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.001728/0.001728, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.336 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: 443.2 MB / 0.7181 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003527, allocations: 9.125 kB / 0.8801 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3434, allocations: 155.1 MB / 1.032 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06419/0.4076, allocations: 59.79 MB / 1.09 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.4256, allocations: 11.92 MB / 1.102 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.4281, allocations: 55.56 kB / 1.102 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.4302, allocations: 0.5516 MB / 1.102 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.4363, allocations: 1.799 MB / 1.104 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.4397, allocations: 1.078 MB / 1.105 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.445, allocations: 3.9 MB / 1.109 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.4467, allocations: 0.9061 MB / 1.11 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002727/0.4494, allocations: 1.116 MB / 1.111 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.451, allocations: 0.8515 MB / 1.112 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.4511, allocations: 43.94 kB / 1.112 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.4539, allocations: 1.345 MB / 1.113 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.4542, allocations: 222.8 kB / 1.113 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.455, allocations: 0.6272 MB / 1.114 GB, free: 224 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.4574, allocations: 1.687 MB / 1.115 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4574, allocations: 4 kB / 1.115 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4574, allocations: 0 / 1.115 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.4574, allocations: 0 / 1.115 GB, free: 14.52 MB / 0.8731 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.002796/0.4602, allocations: 1.493 MB / 1.117 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4603, allocations: 8.031 kB / 1.117 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.4625, allocations: 470.9 kB / 1.117 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.4647, allocations: 1.132 MB / 1.119 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003698/0.4651, allocations: 125.9 kB / 1.119 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4652, allocations: 84 kB / 1.119 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.4673, allocations: 1.001 MB / 1.12 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.4673, allocations: 11.92 kB / 1.12 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.4674, allocations: 28 kB / 1.12 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.4675, allocations: 24 kB / 1.12 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.4699, allocations: 0.9211 MB / 1.121 GB, free: 9.082 MB / 0.8731 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.006918/0.4768, allocations: 4.914 MB / 1.125 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.4805, allocations: 0.9056 MB / 1.126 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.4813, allocations: 326.8 kB / 1.127 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/0.482, allocations: 0.9102 MB / 1.128 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4821, allocations: 38.56 kB / 1.128 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.4821, allocations: 0 / 1.128 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.009404/0.4915, allocations: 2.172 MB / 1.13 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.4916, allocations: 59.41 kB / 1.13 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.4935, allocations: 1.059 MB / 1.131 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.4936, allocations: 37.7 kB / 1.131 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.4941, allocations: 0.5196 MB / 1.131 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.4943, allocations: 153.8 kB / 1.131 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.4944, allocations: 49.69 kB / 1.132 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4946, allocations: 326 kB / 1.132 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.4955, allocations: 328.9 kB / 1.132 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.4967, allocations: 0.5333 MB / 1.133 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.4985, allocations: 0.7328 MB / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4985, allocations: 0 / 1.133 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00302/0.5016, allocations: 1.043 MB / 1.134 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.5018, allocations: 212.1 kB / 1.135 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5018, allocations: 4 kB / 1.135 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.5032, allocations: 332.6 kB / 1.135 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005826/0.5038, allocations: 127.8 kB / 1.135 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.5055, allocations: 0.9479 MB / 1.136 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.507, allocations: 195.3 kB / 1.136 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.5071, allocations: 27.98 kB / 1.136 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.5071, allocations: 4 kB / 1.136 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/0.5098, allocations: 0.9256 MB / 1.137 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5098, allocations: 7.938 kB / 1.137 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.511, allocations: 330 kB / 1.137 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/0.5116, allocations: 123.9 kB / 1.138 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.5132, allocations: 0.9403 MB / 1.138 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5146, allocations: 168.8 kB / 1.139 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.5146, allocations: 31.92 kB / 1.139 GB, free: 5.723 MB / 0.8887 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 (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.0006279/0.5153, allocations: 360.8 kB / 1.139 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.5156, allocations: 110.7 kB / 1.139 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/0.5199, allocations: 1.205 MB / 1.14 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.52, allocations: 8.094 kB / 1.14 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.52, allocations: 4 kB / 1.14 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.52, allocations: 11.91 kB / 1.14 GB, free: 4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/0.5262, allocations: 2.281 MB / 1.143 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.5263, allocations: 8.219 kB / 1.143 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.5266, allocations: 75.89 kB / 1.143 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.5278, allocations: 316.6 kB / 1.143 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.5279, allocations: 12 kB / 1.143 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.5295, allocations: 0.9801 MB / 1.144 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5296, allocations: 0 / 1.144 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.5338, allocations: 1.29 MB / 1.145 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.5345, allocations: 279.5 kB / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/0.5347, allocations: 16 kB / 1.145 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5358, allocations: 111.8 kB / 1.146 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.536, allocations: 39.83 kB / 1.146 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.536, allocations: 23.98 kB / 1.146 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001485/0.5375, allocations: 0.7506 MB / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5375, allocations: 0 / 1.146 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001945/0.5395, allocations: 0.5614 MB / 1.147 GB, free: 13.08 MB / 0.9044 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 (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.0009897/0.5405, allocations: 401.5 kB / 1.147 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00345/0.5439, allocations: 1.173 MB / 1.148 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.544, allocations: 4 kB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009935/0.545, allocations: 371.1 kB / 1.149 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.5483, allocations: 0.4979 MB / 1.149 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/0.5547, allocations: 2.581 MB / 1.152 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.5556, allocations: 1.062 MB / 1.153 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.5559, allocations: 83.42 kB / 1.153 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of SimCode: time 1.182e-06/0.556, allocations: 0 / 1.153 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of Templates: time 0.03606/0.592, allocations: 23.84 MB / 1.176 GB, free: 15.16 MB / 0.9356 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/jenkins1/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