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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001669/0.001669, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001708/0.001708, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.656/2.656, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001893, allocations: 65.02 kB / 0.9245 GB, free: 36 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.783/0.7849, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1416/0.9265, allocations: 132.5 MB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03548/0.9621, allocations: 23.25 MB / 1.235 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005153/0.9672, allocations: 123.2 kB / 1.235 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.9722, allocations: 1.494 MB / 1.237 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.9845, allocations: 4.084 MB / 1.241 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00582/0.9903, allocations: 2.142 MB / 1.243 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0103/1.001, allocations: 6.514 MB / 1.249 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/1.005, allocations: 2.349 MB / 1.251 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/1.012, allocations: 2.984 MB / 1.254 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003572/1.016, allocations: 1.851 MB / 1.256 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006468/1.017, allocations: 248 kB / 1.256 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/1.021, allocations: 1.923 MB / 1.258 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006514/1.022, allocations: 0.5953 MB / 1.259 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/1.024, allocations: 1.466 MB / 1.26 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006816/1.031, allocations: 4.324 MB / 1.264 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.031, allocations: 0 / 1.264 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/1.031, allocations: 0 / 1.264 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.593e-05/1.031, allocations: 0 / 1.264 GB, free: 4.621 MB / 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.005875/1.037, allocations: 3.184 MB / 1.267 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.037, allocations: 12.03 kB / 1.267 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/1.041, allocations: 0.8402 MB / 1.268 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004246/1.046, allocations: 2.209 MB / 1.27 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009533/1.047, allocations: 294.7 kB / 1.271 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/1.047, allocations: 160 kB / 1.271 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/1.051, allocations: 1.941 MB / 1.273 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/1.051, allocations: 3.938 kB / 1.273 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/1.051, allocations: 64 kB / 1.273 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.051, allocations: 36 kB / 1.273 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/1.056, allocations: 1.835 MB / 1.275 GB, free: 9.828 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.01368/1.07, allocations: 9.086 MB / 1.284 GB, free: 148 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/1.074, allocations: 1.201 MB / 1.285 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/1.075, allocations: 461.4 kB / 1.285 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.077, allocations: 1.722 MB / 1.287 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/1.077, allocations: 46.5 kB / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/1.077, allocations: 0 / 1.287 GB, free: 12.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.008816/1.085, allocations: 2.341 MB / 1.289 GB, free: 9.914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.086, allocations: 85.11 kB / 1.289 GB, free: 9.812 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/1.09, allocations: 2.54 MB / 1.292 GB, free: 7.254 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001712/1.09, allocations: 45.7 kB / 1.292 GB, free: 7.203 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009884/1.091, allocations: 1.041 MB / 1.293 GB, free: 6.152 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/1.091, allocations: 272.2 kB / 1.293 GB, free: 5.883 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/1.092, allocations: 258.6 kB / 1.293 GB, free: 5.621 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.092, allocations: 345.9 kB / 1.294 GB, free: 5.277 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/1.094, allocations: 0.5803 MB / 1.294 GB, free: 4.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/1.096, allocations: 0.9785 MB / 1.295 GB, free: 3.566 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/1.099, allocations: 1.264 MB / 1.296 GB, free: 2.195 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.099, allocations: 4 kB / 1.296 GB, free: 2.191 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006773/1.106, allocations: 2.048 MB / 1.298 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.106, allocations: 11.98 kB / 1.298 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.106, allocations: 8 kB / 1.298 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/1.108, allocations: 0.4897 MB / 1.299 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.109, allocations: 287.6 kB / 1.299 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/1.111, allocations: 1.514 MB / 1.301 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/1.114, allocations: 392.4 kB / 1.301 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/1.114, allocations: 63.95 kB / 1.301 GB, free: 13.32 MB / 1.029 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.0009385/1.115, allocations: 461.5 kB / 1.302 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/1.116, allocations: 252.9 kB / 1.302 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/1.12, allocations: 1.493 MB / 1.303 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.12, allocations: 12 kB / 1.303 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.12, allocations: 3.984 kB / 1.303 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.12, allocations: 7.984 kB / 1.303 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008373/1.128, allocations: 3.62 MB / 1.307 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.128, allocations: 8.062 kB / 1.307 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.129, allocations: 123.8 kB / 1.307 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/1.131, allocations: 493 kB / 1.307 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-05/1.131, allocations: 27.98 kB / 1.307 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/1.133, allocations: 1.586 MB / 1.309 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.133, allocations: 4 kB / 1.309 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.14, allocations: 1.928 MB / 1.311 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.141, allocations: 0.4897 MB / 1.311 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.141, allocations: 19.98 kB / 1.311 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/1.143, allocations: 139.8 kB / 1.311 GB, free: 2.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.143, allocations: 63.8 kB / 1.312 GB, free: 2.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/1.143, allocations: 43.97 kB / 1.312 GB, free: 2.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003161/1.146, allocations: 1.785 MB / 1.313 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.146, allocations: 0 / 1.313 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002194/1.149, allocations: 0.6944 MB / 1.314 GB, free: 15.81 MB / 1.045 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.001235/1.15, allocations: 0.6338 MB / 1.315 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004414/1.154, allocations: 1.394 MB / 1.316 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.154, allocations: 0 / 1.316 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/1.157, allocations: 0.6862 MB / 1.317 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006326/1.163, allocations: 1.33 MB / 1.318 GB, free: 11.82 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/1.17, allocations: 3.645 MB / 1.322 GB, free: 8.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.171, allocations: 1.478 MB / 1.323 GB, free: 6.574 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.172, allocations: 183.4 kB / 1.323 GB, free: 6.395 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/1.172, allocations: 0 / 1.323 GB, free: 6.395 MB / 1.045 GB Notification: Performance of Templates: time 0.08336/1.255, allocations: 62.54 MB / 1.384 GB, free: 8.172 MB / 1.107 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=400 -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