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.0009078/0.0009076, allocations: 84.38 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.001007/0.001007, 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.555/1.555, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.024/3.024, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 8.031 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3727, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1293/0.502, allocations: 122.2 MB / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03377/0.5358, allocations: 21.78 MB / 1.199 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006144/0.542, allocations: 107.2 kB / 1.199 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0053/0.5473, allocations: 0.9973 MB / 1.2 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/0.5607, allocations: 3.17 MB / 1.203 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005891/0.5666, allocations: 1.515 MB / 1.204 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.5779, allocations: 7.212 MB / 1.211 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0039/0.5819, allocations: 1.664 MB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006039/0.588, allocations: 2.15 MB / 1.215 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005617/0.5936, allocations: 1.691 MB / 1.217 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0009849/0.5946, allocations: 92 kB / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006397/0.6011, allocations: 1.224 MB / 1.218 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008279/0.6019, allocations: 417.8 kB / 1.218 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.6035, allocations: 0.555 MB / 1.219 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.6087, allocations: 3.141 MB / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6087, allocations: 0 / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6088, allocations: 0 / 1.222 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.154e-05/0.6088, allocations: 0 / 1.222 GB, free: 12.97 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.005741/0.6146, allocations: 2.701 MB / 1.225 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6146, allocations: 12.02 kB / 1.225 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.6189, allocations: 0.9489 MB / 1.226 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.6235, allocations: 2.183 MB / 1.228 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008885/0.6244, allocations: 326.8 kB / 1.228 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.6246, allocations: 164 kB / 1.228 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.629, allocations: 1.969 MB / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.629, allocations: 0 / 1.23 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.6292, allocations: 64 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.6292, allocations: 36 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.6336, allocations: 1.909 MB / 1.232 GB, free: 2.445 MB / 0.9825 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.01461/0.6483, allocations: 9.114 MB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.6527, allocations: 1.291 MB / 1.242 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.6538, allocations: 481.4 kB / 1.243 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/0.6553, allocations: 1.723 MB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.6553, allocations: 42.56 kB / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.6553, allocations: 0 / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009163/0.6645, allocations: 2.501 MB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.6646, allocations: 85.11 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7766/1.441, allocations: 2.516 MB / 1.249 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003903/1.442, allocations: 44.64 kB / 1.249 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/1.443, allocations: 1.045 MB / 1.25 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000454/1.444, allocations: 273.5 kB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.444, allocations: 19.25 kB / 1.251 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.444, allocations: 346.6 kB / 1.251 GB, free: 184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/1.446, allocations: 0.6263 MB / 1.252 GB, free: 184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/1.448, allocations: 1.002 MB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/1.45, allocations: 0.6881 MB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.45, allocations: 6.062 kB / 1.253 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005301/1.455, allocations: 1.963 MB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.455, allocations: 10.72 kB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.455, allocations: 7.656 kB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/1.457, allocations: 0.5004 MB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.458, allocations: 303 kB / 1.256 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.46, allocations: 1.559 MB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.463, allocations: 485.2 kB / 1.258 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.464, allocations: 62.22 kB / 1.258 GB, free: 182.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001024/1.465, allocations: 463.8 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005454/1.465, allocations: 247.1 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/1.469, allocations: 1.55 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.469, allocations: 13.42 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.469, allocations: 0 / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.469, allocations: 5.672 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008767/1.478, allocations: 3.697 MB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.478, allocations: 6.375 kB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006574/1.478, allocations: 137.9 kB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/1.48, allocations: 0.4981 MB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.481, allocations: 31.42 kB / 1.265 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/1.483, allocations: 1.647 MB / 1.266 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.483, allocations: 4.719 kB / 1.266 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/1.49, allocations: 2.074 MB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.491, allocations: 0.5138 MB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004288/1.492, allocations: 20.2 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.494, allocations: 192.1 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.494, allocations: 68.7 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.494, allocations: 40.64 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004892/1.499, allocations: 1.767 MB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.51e-07/1.499, allocations: 0 / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003524/1.502, allocations: 0.6743 MB / 1.271 GB, free: 179.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/1.504, allocations: 0.5771 MB / 1.272 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004723/1.509, allocations: 1.428 MB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.509, allocations: 1.031 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002529/1.511, allocations: 0.7272 MB / 1.274 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007964/1.519, allocations: 1.27 MB / 1.275 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008138/1.527, allocations: 4.199 MB / 1.279 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.529, allocations: 1.492 MB / 1.281 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003065/1.532, allocations: 438.6 kB / 1.281 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/1.532, allocations: 164 kB / 1.281 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.532, allocations: 0 / 1.281 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07536/1.608, allocations: 46.93 MB / 1.327 GB, free: 140.9 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