Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008382/0.008388, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001925/0.001925, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.457/1.457, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 65.44 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3229, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1266/0.4495, allocations: 131.4 MB / 1.181 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0328/0.4824, allocations: 23.31 MB / 1.204 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005677/0.4881, allocations: 111.3 kB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00487/0.4931, allocations: 1.204 MB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.5061, allocations: 3.782 MB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.5128, allocations: 1.963 MB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0116/0.5244, allocations: 8.281 MB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004347/0.5287, allocations: 1.982 MB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00633/0.5351, allocations: 2.364 MB / 1.223 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003694/0.5388, allocations: 1.878 MB / 1.225 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.5397, allocations: 120 kB / 1.225 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005025/0.5447, allocations: 1.742 MB / 1.227 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.5458, allocations: 485.7 kB / 1.227 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003254/0.5491, allocations: 1.333 MB / 1.228 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00574/0.5549, allocations: 3.333 MB / 1.232 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5549, allocations: 0 / 1.232 GB, free: 408 kB / 0.9825 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5549, allocations: 0 / 1.232 GB, free: 408 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001393/0.5551, allocations: 3.938 kB / 1.232 GB, free: 404 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007969/0.563, allocations: 3.174 MB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5631, allocations: 11.97 kB / 1.235 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.5679, allocations: 0.848 MB / 1.236 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/0.5732, allocations: 2.264 MB / 1.238 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009443/0.5741, allocations: 286.9 kB / 1.238 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004511/0.5746, allocations: 160 kB / 1.238 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/0.5797, allocations: 1.942 MB / 1.24 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.5797, allocations: 0 / 1.24 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.58, allocations: 64 kB / 1.24 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/0.58, allocations: 36 kB / 1.24 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.5851, allocations: 1.835 MB / 1.242 GB, free: 5.555 MB / 0.9981 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.6163/1.201, allocations: 9.014 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/1.206, allocations: 1.201 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.207, allocations: 464.3 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007834/1.208, allocations: 1.726 MB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.208, allocations: 43.78 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.736e-06/1.208, allocations: 1.312 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00848/1.216, allocations: 2.343 MB / 1.257 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.216, allocations: 84.98 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/1.22, allocations: 2.517 MB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/1.221, allocations: 45.52 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008166/1.221, allocations: 1.046 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.222, allocations: 277.6 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/1.222, allocations: 252.4 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/1.222, allocations: 348.9 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.224, allocations: 0.5857 MB / 1.262 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.226, allocations: 0.9696 MB / 1.262 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/1.229, allocations: 1.258 MB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/1.229, allocations: 3.031 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007101/1.236, allocations: 2.049 MB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.236, allocations: 11.59 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/1.236, allocations: 8.734 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/1.238, allocations: 494.9 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.239, allocations: 292.5 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/1.241, allocations: 1.515 MB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003389/1.245, allocations: 440.3 kB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/1.245, allocations: 61.58 kB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009887/1.246, allocations: 463.5 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005942/1.247, allocations: 248.3 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/1.251, allocations: 1.502 MB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/1.251, allocations: 13.41 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.251, allocations: 1.25 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.251, allocations: 10.8 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009411/1.261, allocations: 3.602 MB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.261, allocations: 2.406 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/1.261, allocations: 132.5 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.263, allocations: 498.2 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.264, allocations: 27.22 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/1.266, allocations: 1.584 MB / 1.276 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.266, allocations: 8.219 kB / 1.276 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/1.273, allocations: 1.941 MB / 1.278 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.274, allocations: 490.3 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004046/1.274, allocations: 20.17 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.276, allocations: 163.6 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.276, allocations: 67.83 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.276, allocations: 43.08 kB / 1.279 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003109/1.28, allocations: 1.765 MB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.28, allocations: 1.219 kB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002427/1.282, allocations: 0.6839 MB / 1.281 GB, free: 175.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001171/1.283, allocations: 0.6047 MB / 1.282 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004343/1.288, allocations: 1.354 MB / 1.283 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.288, allocations: 0.875 kB / 1.283 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002418/1.29, allocations: 0.6747 MB / 1.284 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006334/1.296, allocations: 1.261 MB / 1.285 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/1.303, allocations: 4.346 MB / 1.289 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/1.304, allocations: 1.482 MB / 1.291 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007053/1.304, allocations: 181.1 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.304, allocations: 4 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0594/1.364, allocations: 62.18 MB / 1.352 GB, free: 115.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches