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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001117/0.001118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009168/0.009168, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.825/2.825, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003847, allocations: 9.5 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3915, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1406/0.5321, allocations: 129.4 MB / 1.185 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04003/0.5722, allocations: 23.08 MB / 1.208 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007119/0.5794, allocations: 107.2 kB / 1.208 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00598/0.5854, allocations: 1.2 MB / 1.209 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.6005, allocations: 3.787 MB / 1.213 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00628/0.6068, allocations: 1.954 MB / 1.214 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01136/0.6182, allocations: 8.29 MB / 1.223 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003862/0.6221, allocations: 1.913 MB / 1.224 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005873/0.628, allocations: 2.313 MB / 1.227 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.6318, allocations: 1.784 MB / 1.228 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004717/0.6323, allocations: 92 kB / 1.229 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.637, allocations: 1.711 MB / 1.23 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.6377, allocations: 449.6 kB / 1.231 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.6398, allocations: 1.295 MB / 1.232 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007104/0.6469, allocations: 4.139 MB / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.647, allocations: 0 / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.647, allocations: 0 / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.834e-05/0.6471, allocations: 0 / 1.236 GB, free: 15.41 MB / 0.9981 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.006306/0.6534, allocations: 2.682 MB / 1.239 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6535, allocations: 8.031 kB / 1.239 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.6582, allocations: 0.9574 MB / 1.239 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/0.6627, allocations: 2.264 MB / 1.242 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/0.6638, allocations: 326.8 kB / 1.242 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.6641, allocations: 167.9 kB / 1.242 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.6686, allocations: 1.973 MB / 1.244 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.6686, allocations: 3.938 kB / 1.244 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.6688, allocations: 64 kB / 1.244 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.6688, allocations: 36 kB / 1.244 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00514/0.674, allocations: 1.917 MB / 1.246 GB, free: 4.797 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.7558/1.43, allocations: 9.099 MB / 1.255 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/1.435, allocations: 1.315 MB / 1.256 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/1.436, allocations: 479.6 kB / 1.257 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008502/1.437, allocations: 1.721 MB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/1.437, allocations: 52.98 kB / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/1.437, allocations: 0 / 1.258 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008907/1.446, allocations: 2.513 MB / 1.261 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/1.446, allocations: 85.48 kB / 1.261 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/1.45, allocations: 2.542 MB / 1.263 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/1.45, allocations: 45.17 kB / 1.263 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/1.451, allocations: 1.04 MB / 1.264 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/1.451, allocations: 273.9 kB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/1.452, allocations: 92.02 kB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.452, allocations: 346.2 kB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/1.455, allocations: 0.634 MB / 1.266 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003248/1.458, allocations: 1.013 MB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004994/1.463, allocations: 1.325 MB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.463, allocations: 3.609 kB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0117/1.475, allocations: 2.189 MB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/1.475, allocations: 8.391 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/1.475, allocations: 12.84 kB / 1.27 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003016/1.478, allocations: 0.4982 MB / 1.271 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.48, allocations: 302.1 kB / 1.271 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/1.483, allocations: 1.571 MB / 1.273 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/1.489, allocations: 477.8 kB / 1.273 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004104/1.489, allocations: 62.48 kB / 1.273 GB, free: 176.5 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.001791/1.491, allocations: 465.6 kB / 1.273 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.492, allocations: 248 kB / 1.274 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/1.499, allocations: 1.56 MB / 1.275 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/1.499, allocations: 15.28 kB / 1.275 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.499, allocations: 0.8906 kB / 1.275 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/1.499, allocations: 4.859 kB / 1.275 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/1.518, allocations: 3.699 MB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-05/1.518, allocations: 4.719 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/1.519, allocations: 143.7 kB / 1.279 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/1.522, allocations: 0.4984 MB / 1.28 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.522, allocations: 26.72 kB / 1.28 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003789/1.526, allocations: 1.654 MB / 1.281 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.526, allocations: 3.906 kB / 1.281 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007646/1.533, allocations: 2.079 MB / 1.283 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.535, allocations: 0.515 MB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.536, allocations: 23.36 kB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001931/1.538, allocations: 189.7 kB / 1.284 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.538, allocations: 58.84 kB / 1.284 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.538, allocations: 43 kB / 1.284 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003659/1.542, allocations: 1.794 MB / 1.286 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.542, allocations: 0 / 1.286 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003435/1.545, allocations: 0.6817 MB / 1.286 GB, free: 172 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.001592/1.547, allocations: 0.6013 MB / 1.287 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004931/1.552, allocations: 1.439 MB / 1.288 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.552, allocations: 1 kB / 1.288 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.555, allocations: 0.7413 MB / 1.289 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009337/1.564, allocations: 1.317 MB / 1.29 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/1.572, allocations: 4.358 MB / 1.295 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.573, allocations: 1.495 MB / 1.296 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002605/1.575, allocations: 436.2 kB / 1.297 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/1.576, allocations: 181.1 kB / 1.297 GB, free: 167 MB / 0.9981 GB Notification: Performance of SimCode: time 1.393e-06/1.576, allocations: 0 / 1.297 GB, free: 167 MB / 0.9981 GB Notification: Performance of Templates: time 0.07568/1.651, allocations: 51.03 MB / 1.347 GB, free: 121.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches