Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001313/0.001313, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.00157, allocations: 194 kB / 16.53 MB, free: 6.664 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8372/0.8388, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1306/0.9694, allocations: 132.3 MB / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0376/1.007, allocations: 23.22 MB / 1.169 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/1.014, allocations: 127.2 kB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005152/1.019, allocations: 1.486 MB / 1.171 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/1.032, allocations: 4.101 MB / 1.175 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006559/1.039, allocations: 2.155 MB / 1.177 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01067/1.05, allocations: 6.532 MB / 1.183 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004857/1.054, allocations: 2.353 MB / 1.185 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007628/1.062, allocations: 2.745 MB / 1.188 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/1.067, allocations: 1.882 MB / 1.19 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001144/1.068, allocations: 248 kB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006289/1.074, allocations: 1.93 MB / 1.192 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.076, allocations: 0.5992 MB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004134/1.08, allocations: 1.466 MB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/1.092, allocations: 4.312 MB / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.092, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.092, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001838/1.092, allocations: 0 / 1.198 GB, free: 8.52 MB / 0.9512 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.01101/1.103, allocations: 3.184 MB / 1.201 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.103, allocations: 12.03 kB / 1.201 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/1.11, allocations: 0.8441 MB / 1.202 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006468/1.116, allocations: 2.194 MB / 1.204 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001448/1.118, allocations: 290.9 kB / 1.205 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007133/1.119, allocations: 164 kB / 1.205 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007344/1.126, allocations: 1.942 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/1.126, allocations: 11.86 kB / 1.207 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/1.126, allocations: 68 kB / 1.207 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/1.127, allocations: 36 kB / 1.207 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007665/1.134, allocations: 1.831 MB / 1.209 GB, free: 13.72 MB / 0.9669 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.02217/1.156, allocations: 9.07 MB / 1.218 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/1.161, allocations: 1.212 MB / 1.219 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/1.162, allocations: 453.4 kB / 1.219 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/1.164, allocations: 1.723 MB / 1.221 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.164, allocations: 42.56 kB / 1.221 GB, free: 220 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 5.721e-06/1.164, allocations: 3.984 kB / 1.221 GB, free: 216 kB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009498/1.173, allocations: 2.341 MB / 1.223 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/1.174, allocations: 85.11 kB / 1.223 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005618/1.179, allocations: 2.544 MB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/1.179, allocations: 41.7 kB / 1.226 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.181, allocations: 1.049 MB / 1.227 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/1.181, allocations: 276.1 kB / 1.227 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006876/1.182, allocations: 254.6 kB / 1.227 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.182, allocations: 341.9 kB / 1.228 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.184, allocations: 0.5881 MB / 1.228 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/1.186, allocations: 0.9621 MB / 1.229 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/1.19, allocations: 1.275 MB / 1.23 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.19, allocations: 4 kB / 1.23 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007321/1.197, allocations: 2.048 MB / 1.232 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.197, allocations: 8 kB / 1.232 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/1.197, allocations: 8 kB / 1.232 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/1.199, allocations: 493.4 kB / 1.233 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.2, allocations: 291.5 kB / 1.233 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/1.203, allocations: 1.514 MB / 1.235 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.206, allocations: 397.9 kB / 1.235 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.206, allocations: 59.97 kB / 1.235 GB, free: 1.219 MB / 0.9825 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.001297/1.208, allocations: 463.5 kB / 1.235 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009188/1.209, allocations: 252.8 kB / 1.236 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/1.213, allocations: 1.498 MB / 1.237 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.213, allocations: 11.98 kB / 1.237 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.213, allocations: 0 / 1.237 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.213, allocations: 3.984 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/1.222, allocations: 3.622 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.222, allocations: 8.312 kB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/1.223, allocations: 127.8 kB / 1.241 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/1.224, allocations: 491.3 kB / 1.241 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/1.225, allocations: 23.98 kB / 1.241 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/1.227, allocations: 1.585 MB / 1.243 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.227, allocations: 7.969 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/1.234, allocations: 1.939 MB / 1.245 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.236, allocations: 493.6 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006247/1.236, allocations: 27.91 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.238, allocations: 143.8 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.238, allocations: 59.81 kB / 1.246 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.238, allocations: 43.95 kB / 1.246 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00387/1.242, allocations: 1.785 MB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.242, allocations: 0 / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002592/1.245, allocations: 0.6867 MB / 1.248 GB, free: 3.711 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.001679/1.247, allocations: 0.6209 MB / 1.249 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005499/1.252, allocations: 1.397 MB / 1.25 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.252, allocations: 0 / 1.25 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/1.255, allocations: 0.6752 MB / 1.251 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5137/1.769, allocations: 1.333 MB / 1.252 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/1.779, allocations: 3.612 MB / 1.255 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/1.78, allocations: 1.491 MB / 1.257 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002993/1.783, allocations: 430.6 kB / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/1.784, allocations: 171 kB / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.336e-06/1.784, allocations: 0 / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.09056/1.875, allocations: 51.22 MB / 1.307 GB, free: 193.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches