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.0009637/0.000964, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.01096/0.01096, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.064/3.064, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004219/0.0004223, allocations: 12.3 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3982, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1379/0.5361, allocations: 129.4 MB / 1.185 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0363/0.5724, allocations: 23.06 MB / 1.208 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005827/0.5783, allocations: 115.2 kB / 1.208 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006932/0.5853, allocations: 1.2 MB / 1.209 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01655/0.6018, allocations: 3.78 MB / 1.213 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/0.6085, allocations: 1.974 MB / 1.214 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01411/0.6227, allocations: 8.276 MB / 1.223 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/0.6279, allocations: 1.928 MB / 1.224 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006998/0.6349, allocations: 2.298 MB / 1.227 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.6391, allocations: 1.784 MB / 1.228 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008717/0.64, allocations: 92 kB / 1.229 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005278/0.6453, allocations: 1.715 MB / 1.23 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.6463, allocations: 441.7 kB / 1.231 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.6502, allocations: 1.295 MB / 1.232 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.6615, allocations: 4.135 MB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.6615, allocations: 3.938 kB / 1.236 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.6615, allocations: 3.938 kB / 1.236 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001833/0.6617, allocations: 0 / 1.236 GB, free: 15.37 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.009102/0.6708, allocations: 2.678 MB / 1.239 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.6709, allocations: 12.02 kB / 1.239 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.6763, allocations: 0.9652 MB / 1.239 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005942/0.6822, allocations: 2.267 MB / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/0.6834, allocations: 322.8 kB / 1.242 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004962/0.6839, allocations: 160 kB / 1.242 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/0.6892, allocations: 1.981 MB / 1.244 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.6893, allocations: 4 kB / 1.244 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.6895, allocations: 60 kB / 1.244 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.6895, allocations: 40 kB / 1.244 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.6947, allocations: 1.913 MB / 1.246 GB, free: 4.754 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.654/1.349, allocations: 9.102 MB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004717/1.353, allocations: 1.307 MB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.355, allocations: 490.8 kB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008703/1.355, allocations: 1.714 MB / 1.258 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/1.356, allocations: 40.62 kB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.837e-06/1.356, allocations: 3.969 kB / 1.258 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009113/1.365, allocations: 2.525 MB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.365, allocations: 84.95 kB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/1.369, allocations: 2.538 MB / 1.263 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001742/1.369, allocations: 45.33 kB / 1.263 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.37, allocations: 1.042 MB / 1.264 GB, free: 179 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/1.37, allocations: 277.2 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.371, allocations: 90.11 kB / 1.265 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/1.371, allocations: 345.4 kB / 1.265 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/1.373, allocations: 0.6294 MB / 1.266 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/1.375, allocations: 1.015 MB / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/1.378, allocations: 1.328 MB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.378, allocations: 2.375 kB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.008214/1.386, allocations: 2.188 MB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/1.386, allocations: 9.5 kB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.387, allocations: 9.203 kB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.389, allocations: 0.5049 MB / 1.271 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.39, allocations: 305.1 kB / 1.271 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.392, allocations: 1.561 MB / 1.273 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/1.396, allocations: 479.6 kB / 1.273 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/1.397, allocations: 62.55 kB / 1.273 GB, free: 176.3 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.001103/1.398, allocations: 465.1 kB / 1.274 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/1.398, allocations: 244.8 kB / 1.274 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/1.403, allocations: 1.563 MB / 1.275 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/1.403, allocations: 15.25 kB / 1.275 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.403, allocations: 1.188 kB / 1.275 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.403, allocations: 4.5 kB / 1.275 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008618/1.411, allocations: 3.701 MB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.411, allocations: 3.938 kB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/1.412, allocations: 138.3 kB / 1.279 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/1.414, allocations: 0.5014 MB / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/1.414, allocations: 27.36 kB / 1.28 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/1.416, allocations: 1.655 MB / 1.281 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.416, allocations: 3.875 kB / 1.281 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/1.423, allocations: 2.074 MB / 1.283 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.425, allocations: 0.518 MB / 1.284 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007263/1.426, allocations: 20.83 kB / 1.284 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/1.428, allocations: 193.1 kB / 1.284 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/1.428, allocations: 58 kB / 1.284 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.428, allocations: 46.8 kB / 1.284 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003816/1.432, allocations: 1.792 MB / 1.286 GB, free: 172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.432, allocations: 1 kB / 1.286 GB, free: 172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003003/1.435, allocations: 0.6819 MB / 1.286 GB, free: 171.9 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.001423/1.437, allocations: 0.6043 MB / 1.287 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004825/1.441, allocations: 1.441 MB / 1.288 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.441, allocations: 1.219 kB / 1.288 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/1.444, allocations: 0.7362 MB / 1.289 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008618/1.453, allocations: 1.327 MB / 1.29 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/1.46, allocations: 4.352 MB / 1.295 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.461, allocations: 1.502 MB / 1.296 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002298/1.463, allocations: 432.4 kB / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/1.464, allocations: 181.3 kB / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.464, allocations: 0 / 1.297 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.07554/1.539, allocations: 51.03 MB / 1.347 GB, free: 121.3 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