Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CarnotVerifyCOP,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001909/0.001909, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8193, allocations: 140.4 MB / 0.9491 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1272/0.9466, allocations: 131 MB / 1.077 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03586/0.9825, allocations: 23.07 MB / 1.1 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007227/0.9898, allocations: 115.2 kB / 1.1 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005621/0.9954, allocations: 1.279 MB / 1.101 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01695/1.012, allocations: 3.813 MB / 1.105 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008092/1.021, allocations: 1.982 MB / 1.107 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01218/1.033, allocations: 6.582 MB / 1.113 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005369/1.038, allocations: 2.345 MB / 1.115 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009124/1.047, allocations: 2.762 MB / 1.118 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/1.052, allocations: 1.929 MB / 1.12 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/1.053, allocations: 248 kB / 1.12 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006934/1.06, allocations: 1.961 MB / 1.122 GB, free: 408 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/1.062, allocations: 0.6031 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004374/1.067, allocations: 1.462 MB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/1.077, allocations: 4.327 MB / 1.128 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/1.077, allocations: 0 / 1.128 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.395e-06/1.077, allocations: 0 / 1.128 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001656/1.077, allocations: 4 kB / 1.128 GB, free: 9.98 MB / 0.8887 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.009487/1.087, allocations: 3.172 MB / 1.131 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/1.087, allocations: 12.03 kB / 1.131 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/1.091, allocations: 0.8396 MB / 1.132 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005219/1.097, allocations: 2.276 MB / 1.134 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009474/1.098, allocations: 294.8 kB / 1.135 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/1.098, allocations: 160 kB / 1.135 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/1.102, allocations: 1.942 MB / 1.137 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/1.102, allocations: 7.938 kB / 1.137 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/1.103, allocations: 67.98 kB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/1.103, allocations: 40 kB / 1.137 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/1.107, allocations: 1.811 MB / 1.139 GB, free: 15.13 MB / 0.9044 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.01407/1.121, allocations: 9.019 MB / 1.147 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/1.126, allocations: 1.189 MB / 1.149 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.127, allocations: 457.4 kB / 1.149 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/1.128, allocations: 1.723 MB / 1.151 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.128, allocations: 50.44 kB / 1.151 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 5.4e-06/1.128, allocations: 7.984 kB / 1.151 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00918/1.138, allocations: 2.32 MB / 1.153 GB, free: 15.3 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/1.138, allocations: 85.11 kB / 1.153 GB, free: 15.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005273/1.143, allocations: 2.493 MB / 1.156 GB, free: 12.69 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002689/1.143, allocations: 49.69 kB / 1.156 GB, free: 12.64 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/1.144, allocations: 1.041 MB / 1.157 GB, free: 11.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/1.145, allocations: 272.2 kB / 1.157 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/1.145, allocations: 254.5 kB / 1.157 GB, free: 11.06 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.145, allocations: 349.9 kB / 1.158 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/1.147, allocations: 0.5842 MB / 1.158 GB, free: 10.13 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/1.149, allocations: 0.966 MB / 1.159 GB, free: 9.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/1.152, allocations: 1.26 MB / 1.16 GB, free: 7.648 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.152, allocations: 4 kB / 1.16 GB, free: 7.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006765/1.159, allocations: 2.047 MB / 1.162 GB, free: 5.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/1.159, allocations: 15.98 kB / 1.162 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.159, allocations: 4 kB / 1.162 GB, free: 5.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/1.161, allocations: 421.8 kB / 1.163 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.162, allocations: 287.6 kB / 1.163 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.164, allocations: 1.507 MB / 1.164 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003288/1.167, allocations: 441.8 kB / 1.165 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.168, allocations: 55.97 kB / 1.165 GB, free: 2.816 MB / 0.92 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.169, allocations: 465.5 kB / 1.165 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/1.169, allocations: 244.9 kB / 1.166 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/1.173, allocations: 1.506 MB / 1.167 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.173, allocations: 8 kB / 1.167 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.173, allocations: 0 / 1.167 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.173, allocations: 3.984 kB / 1.167 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007846/1.181, allocations: 3.592 MB / 1.171 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.181, allocations: 0 / 1.171 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/1.181, allocations: 136.1 kB / 1.171 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/1.183, allocations: 423 kB / 1.171 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/1.183, allocations: 23.98 kB / 1.171 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/1.186, allocations: 1.579 MB / 1.173 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.186, allocations: 4 kB / 1.173 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006335/1.192, allocations: 1.935 MB / 1.175 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/1.194, allocations: 497.5 kB / 1.175 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.194, allocations: 16 kB / 1.175 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.196, allocations: 167.8 kB / 1.175 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.196, allocations: 59.86 kB / 1.175 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.196, allocations: 43.91 kB / 1.175 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003083/1.199, allocations: 1.75 MB / 1.177 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.199, allocations: 0 / 1.177 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002257/1.202, allocations: 0.6866 MB / 1.178 GB, free: 5.426 MB / 0.9356 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.203, allocations: 0.582 MB / 1.178 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004556/1.208, allocations: 1.4 MB / 1.18 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.379e-05/1.208, allocations: 4 kB / 1.18 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.21, allocations: 0.6603 MB / 1.18 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007067/1.217, allocations: 1.33 MB / 1.182 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/1.224, allocations: 4.304 MB / 1.186 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.225, allocations: 1.486 MB / 1.187 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002404/1.228, allocations: 432.5 kB / 1.188 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/1.228, allocations: 179.4 kB / 1.188 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of SimCode: time 9.02e-07/1.228, allocations: 0 / 1.188 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.09151/1.32, allocations: 50.24 MB / 1.237 GB, free: 9.422 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches