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.001216/0.001216, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.001754/0.001754, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.532/1.532, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.66 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3395, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.796/1.136, allocations: 132.3 MB / 1.156 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04012/1.176, allocations: 23.23 MB / 1.179 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007651/1.183, allocations: 124.7 kB / 1.179 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006144/1.19, allocations: 1.484 MB / 1.18 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/1.205, allocations: 4.107 MB / 1.184 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007279/1.212, allocations: 2.171 MB / 1.186 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01313/1.226, allocations: 6.55 MB / 1.193 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004898/1.23, allocations: 2.353 MB / 1.195 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008958/1.239, allocations: 2.759 MB / 1.198 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/1.245, allocations: 1.883 MB / 1.2 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009986/1.246, allocations: 249.1 kB / 1.2 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00673/1.252, allocations: 1.942 MB / 1.202 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/1.254, allocations: 0.6007 MB / 1.202 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005208/1.259, allocations: 1.456 MB / 1.204 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.272, allocations: 4.361 MB / 1.208 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/1.272, allocations: 4 kB / 1.208 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.364e-06/1.272, allocations: 0 / 1.208 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001333/1.272, allocations: 0 / 1.208 GB, free: 8.297 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.008581/1.281, allocations: 3.176 MB / 1.211 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.281, allocations: 12.03 kB / 1.211 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004675/1.286, allocations: 0.8327 MB / 1.212 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005881/1.291, allocations: 2.319 MB / 1.214 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/1.292, allocations: 131 kB / 1.214 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/1.292, allocations: 156 kB / 1.214 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/1.296, allocations: 1.934 MB / 1.216 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/1.296, allocations: 0 / 1.216 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.297, allocations: 63.94 kB / 1.216 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/1.297, allocations: 40 kB / 1.216 GB, free: 15.4 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00458/1.301, allocations: 1.796 MB / 1.218 GB, free: 13.61 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.01483/1.316, allocations: 8.985 MB / 1.227 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/1.32, allocations: 1.203 MB / 1.228 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.321, allocations: 469.3 kB / 1.229 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.323, allocations: 1.722 MB / 1.23 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/1.323, allocations: 42.5 kB / 1.23 GB, free: 192 kB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.323, allocations: 4 kB / 1.23 GB, free: 188 kB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008835/1.332, allocations: 2.33 MB / 1.233 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/1.332, allocations: 85.11 kB / 1.233 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/1.336, allocations: 2.532 MB / 1.235 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/1.337, allocations: 45.7 kB / 1.235 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/1.338, allocations: 1.038 MB / 1.236 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/1.338, allocations: 272.1 kB / 1.236 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004824/1.339, allocations: 258.6 kB / 1.237 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.339, allocations: 349.9 kB / 1.237 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.341, allocations: 0.5724 MB / 1.238 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/1.343, allocations: 0.9543 MB / 1.238 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/1.346, allocations: 1.244 MB / 1.24 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/1.346, allocations: 8 kB / 1.24 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006613/1.352, allocations: 2.024 MB / 1.242 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.352, allocations: 8 kB / 1.242 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.352, allocations: 8 kB / 1.242 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/1.354, allocations: 489.2 kB / 1.242 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.355, allocations: 283.6 kB / 1.242 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.358, allocations: 1.521 MB / 1.244 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003226/1.361, allocations: 373.9 kB / 1.244 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/1.361, allocations: 59.95 kB / 1.244 GB, free: 1.32 MB / 0.9356 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.00112/1.362, allocations: 469.5 kB / 1.245 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/1.363, allocations: 244.9 kB / 1.245 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/1.367, allocations: 1.501 MB / 1.246 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.367, allocations: 15.98 kB / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.367, allocations: 0 / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.367, allocations: 3.984 kB / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/1.375, allocations: 3.616 MB / 1.25 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.375, allocations: 4 kB / 1.25 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000733/1.376, allocations: 132.2 kB / 1.25 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.378, allocations: 489.1 kB / 1.251 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/1.378, allocations: 27.98 kB / 1.251 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/1.38, allocations: 1.583 MB / 1.252 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.381, allocations: 7.938 kB / 1.252 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006075/1.387, allocations: 1.939 MB / 1.254 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.388, allocations: 497.6 kB / 1.255 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.388, allocations: 23.89 kB / 1.255 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.39, allocations: 139.8 kB / 1.255 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/1.39, allocations: 51.92 kB / 1.255 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/1.39, allocations: 43.97 kB / 1.255 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003283/1.394, allocations: 1.773 MB / 1.257 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.394, allocations: 0 / 1.257 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00249/1.396, allocations: 0.6867 MB / 1.257 GB, free: 3.824 MB / 0.9512 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.001308/1.397, allocations: 0.6139 MB / 1.258 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00438/1.402, allocations: 1.353 MB / 1.259 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.402, allocations: 4 kB / 1.259 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/1.405, allocations: 0.6708 MB / 1.26 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006707/1.411, allocations: 1.326 MB / 1.261 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007979/1.419, allocations: 3.555 MB / 1.265 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.421, allocations: 1.49 MB / 1.266 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002147/1.423, allocations: 443.3 kB / 1.266 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/1.423, allocations: 163.4 kB / 1.267 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/1.423, allocations: 0 / 1.267 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.08373/1.507, allocations: 48.4 MB / 1.314 GB, free: 10.35 MB / 1.014 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 -s cvode -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