Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.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 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.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.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.0011/0.0011, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00195/0.001951, allocations: 168.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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.922/2.922, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 12.69 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 159.6 MB / 1.058 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.0683/0.4019, allocations: 69.44 MB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.4213, allocations: 11.96 MB / 1.138 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.4241, allocations: 55.62 kB / 1.138 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.4266, allocations: 0.5667 MB / 1.138 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.4336, allocations: 1.885 MB / 1.14 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003314/0.4369, allocations: 0.9658 MB / 1.141 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006824/0.4437, allocations: 4.798 MB / 1.146 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.4458, allocations: 1.014 MB / 1.147 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.4487, allocations: 1.26 MB / 1.148 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.4507, allocations: 1.069 MB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.4509, allocations: 56 kB / 1.149 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.4537, allocations: 0.9394 MB / 1.15 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.4541, allocations: 274.7 kB / 1.15 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005951/0.4547, allocations: 356.9 kB / 1.15 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.4573, allocations: 2.089 MB / 1.152 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4574, allocations: 0 / 1.152 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4574, allocations: 0 / 1.152 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.4574, allocations: 4 kB / 1.152 GB, free: 4.395 MB / 0.9044 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.003927/0.4613, allocations: 1.803 MB / 1.154 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4614, allocations: 8.031 kB / 1.154 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007491/0.4621, allocations: 241.9 kB / 1.154 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.4645, allocations: 1.447 MB / 1.156 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.4646, allocations: 73.94 kB / 1.156 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4648, allocations: 104 kB / 1.156 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.4669, allocations: 1.12 MB / 1.157 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.4669, allocations: 3.938 kB / 1.157 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/0.467, allocations: 44 kB / 1.157 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.4671, allocations: 24 kB / 1.157 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.4689, allocations: 0.9212 MB / 1.158 GB, free: 14.46 MB / 0.92 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.006343/0.4753, allocations: 4.911 MB / 1.163 GB, free: 9.254 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4766, allocations: 0.6435 MB / 1.164 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.4773, allocations: 376 kB / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/0.4781, allocations: 0.8277 MB / 1.165 GB, free: 7.227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.4781, allocations: 43.12 kB / 1.165 GB, free: 7.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 3.376e-06/0.4781, allocations: 0 / 1.165 GB, free: 7.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=62): time 0.006826/0.4849, allocations: 1.888 MB / 1.167 GB, free: 5.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.485, allocations: 59.91 kB / 1.167 GB, free: 5.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.4867, allocations: 1.202 MB / 1.168 GB, free: 3.969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.4869, allocations: 37.7 kB / 1.168 GB, free: 3.926 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/0.4874, allocations: 0.6066 MB / 1.168 GB, free: 3.312 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.4877, allocations: 216.8 kB / 1.169 GB, free: 3.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.4877, allocations: 16 kB / 1.169 GB, free: 3.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4879, allocations: 334 kB / 1.169 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.4886, allocations: 297.8 kB / 1.169 GB, free: 2.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.4895, allocations: 0.5028 MB / 1.17 GB, free: 1.883 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.4902, allocations: 363 kB / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4902, allocations: 0 / 1.17 GB, free: 1.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00439/0.4946, allocations: 1.398 MB / 1.171 GB, free: 120 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.4948, allocations: 193.4 kB / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4948, allocations: 0 / 1.172 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007/0.4955, allocations: 176.6 kB / 1.172 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.4962, allocations: 159.8 kB / 1.172 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008423/0.497, allocations: 0.7202 MB / 1.173 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4981, allocations: 178.9 kB / 1.173 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.4982, allocations: 31.98 kB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.4982, allocations: 8 kB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004092/0.5023, allocations: 1.249 MB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5023, allocations: 4 kB / 1.174 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/0.5029, allocations: 169.1 kB / 1.174 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.5035, allocations: 167.8 kB / 1.174 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008128/0.5043, allocations: 0.7279 MB / 1.175 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.5054, allocations: 155.2 kB / 1.175 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.5054, allocations: 32 kB / 1.175 GB, free: 12.06 MB / 0.9356 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 (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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006524/0.5061, allocations: 433.2 kB / 1.176 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5063, allocations: 134.3 kB / 1.176 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.5107, allocations: 1.412 MB / 1.177 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5107, allocations: 4 kB / 1.177 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5107, allocations: 7.984 kB / 1.177 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003906/0.5146, allocations: 1.24 MB / 1.178 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006181/0.5208, allocations: 2.743 MB / 1.181 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5209, allocations: 4 kB / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.5213, allocations: 124.2 kB / 1.181 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.5219, allocations: 156.7 kB / 1.181 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.522, allocations: 19.98 kB / 1.181 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007812/0.5228, allocations: 0.724 MB / 1.182 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.5228, allocations: 7.938 kB / 1.182 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.5277, allocations: 1.852 MB / 1.184 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006883/0.5284, allocations: 335.1 kB / 1.184 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.5286, allocations: 15.98 kB / 1.184 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.5294, allocations: 98.06 kB / 1.184 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5296, allocations: 60.27 kB / 1.184 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.5296, allocations: 27.98 kB / 1.184 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001299/0.531, allocations: 0.8582 MB / 1.185 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.531, allocations: 4 kB / 1.185 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00187/0.5328, allocations: 0.6979 MB / 1.186 GB, free: 0.8359 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008834/0.5337, allocations: 430.6 kB / 1.186 GB, free: 424 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.5364, allocations: 1.168 MB / 1.188 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5365, allocations: 0 / 1.188 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008836/0.5373, allocations: 407.3 kB / 1.188 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.5408, allocations: 0.764 MB / 1.189 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.5449, allocations: 2.773 MB / 1.191 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.5457, allocations: 1.172 MB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00127/0.547, allocations: 306.4 kB / 1.193 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.5472, allocations: 103.4 kB / 1.193 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/0.5472, allocations: 0 / 1.193 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.0505/0.5978, allocations: 29.22 MB / 1.221 GB, free: 12.79 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches