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.00188/0.00188, allocations: 108 kB / 15.6 MB, free: 132 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.00213/0.00213, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.929/2.929, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002949, allocations: 60.14 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8252, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1453/0.9705, allocations: 132.3 MB / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03532/1.006, allocations: 23.22 MB / 1.169 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/1.011, allocations: 123.2 kB / 1.169 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/1.016, allocations: 1.502 MB / 1.171 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01473/1.031, allocations: 4.097 MB / 1.175 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007022/1.038, allocations: 2.151 MB / 1.177 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01124/1.049, allocations: 6.536 MB / 1.183 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/1.054, allocations: 2.345 MB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00884/1.062, allocations: 2.741 MB / 1.188 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00539/1.068, allocations: 1.878 MB / 1.19 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/1.069, allocations: 252 kB / 1.19 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007616/1.077, allocations: 1.938 MB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/1.078, allocations: 0.5991 MB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003509/1.081, allocations: 1.454 MB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01163/1.093, allocations: 4.32 MB / 1.198 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/1.093, allocations: 0 / 1.198 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.964e-06/1.093, allocations: 0 / 1.198 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001531/1.093, allocations: 4 kB / 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.01056/1.104, allocations: 3.18 MB / 1.201 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/1.104, allocations: 8.031 kB / 1.201 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007021/1.111, allocations: 0.8402 MB / 1.202 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/1.119, allocations: 2.202 MB / 1.204 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/1.121, allocations: 302.8 kB / 1.205 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/1.121, allocations: 156 kB / 1.205 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/1.128, allocations: 1.942 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/1.128, allocations: 0 / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/1.128, allocations: 60 kB / 1.207 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/1.128, allocations: 40 kB / 1.207 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006084/1.134, allocations: 1.831 MB / 1.209 GB, free: 13.74 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.01739/1.152, allocations: 9.082 MB / 1.218 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004847/1.157, allocations: 1.202 MB / 1.219 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/1.158, allocations: 465.4 kB / 1.219 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/1.16, allocations: 1.718 MB / 1.221 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/1.16, allocations: 50.5 kB / 1.221 GB, free: 216 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/1.16, allocations: 4 kB / 1.221 GB, free: 212 kB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009486/1.169, allocations: 2.325 MB / 1.223 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/1.169, allocations: 89.11 kB / 1.223 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005345/1.175, allocations: 2.544 MB / 1.226 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.175, allocations: 45.7 kB / 1.226 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.176, allocations: 1.041 MB / 1.227 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/1.177, allocations: 272.1 kB / 1.227 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004877/1.177, allocations: 258.6 kB / 1.227 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.177, allocations: 341.9 kB / 1.228 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/1.179, allocations: 0.5881 MB / 1.228 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/1.182, allocations: 0.9705 MB / 1.229 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/1.185, allocations: 1.268 MB / 1.23 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.185, allocations: 0 / 1.23 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007458/1.192, allocations: 2.047 MB / 1.232 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.192, allocations: 11.98 kB / 1.232 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/1.193, allocations: 8.625 kB / 1.232 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.195, allocations: 0.4955 MB / 1.233 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.196, allocations: 291.6 kB / 1.233 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/1.198, allocations: 1.514 MB / 1.235 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.202, allocations: 389.9 kB / 1.235 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/1.202, allocations: 67.95 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.001105/1.203, allocations: 457.6 kB / 1.236 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00062/1.204, allocations: 256.8 kB / 1.236 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/1.208, allocations: 1.502 MB / 1.237 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/1.208, allocations: 12 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.208, allocations: 3.984 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/1.208, allocations: 3.984 kB / 1.237 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008769/1.217, allocations: 3.618 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.217, allocations: 4 kB / 1.241 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/1.217, allocations: 132.2 kB / 1.241 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/1.219, allocations: 486.1 kB / 1.241 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/1.219, allocations: 27.98 kB / 1.241 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/1.222, allocations: 1.59 MB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.222, allocations: 4 kB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006862/1.229, allocations: 1.939 MB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.231, allocations: 489.6 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/1.231, allocations: 27.89 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.233, allocations: 143.8 kB / 1.245 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.233, allocations: 55.86 kB / 1.246 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/1.233, allocations: 39.97 kB / 1.246 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003523/1.236, allocations: 1.789 MB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.236, allocations: 0 / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002405/1.239, allocations: 0.6906 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.001413/1.24, allocations: 0.6257 MB / 1.249 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004861/1.245, allocations: 1.401 MB / 1.25 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.245, allocations: 0 / 1.25 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002485/1.248, allocations: 0.6752 MB / 1.251 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5248/1.772, allocations: 1.323 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.007415/1.78, allocations: 3.616 MB / 1.255 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/1.781, allocations: 1.492 MB / 1.257 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002627/1.784, allocations: 430.8 kB / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/1.785, allocations: 165.7 kB / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.785, allocations: 1 kB / 1.257 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08573/1.87, allocations: 51.21 MB / 1.307 GB, free: 193.4 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=400 -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