Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001608/0.001608, allocations: 104 kB / 16.35 MB, free: 5.824 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.001685/0.001685, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 72.33 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6559/0.9908, allocations: 132.3 MB / 1.156 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03181/1.023, allocations: 23.21 MB / 1.179 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00649/1.029, allocations: 121.2 kB / 1.179 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005548/1.035, allocations: 1.488 MB / 1.18 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01313/1.048, allocations: 4.089 MB / 1.184 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006233/1.054, allocations: 2.173 MB / 1.186 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01091/1.065, allocations: 6.539 MB / 1.193 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004376/1.07, allocations: 2.344 MB / 1.195 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006794/1.076, allocations: 2.768 MB / 1.198 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00409/1.081, allocations: 1.865 MB / 1.199 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001601/1.082, allocations: 251.7 kB / 1.2 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007069/1.089, allocations: 1.944 MB / 1.202 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/1.09, allocations: 0.5932 MB / 1.202 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003673/1.094, allocations: 1.455 MB / 1.204 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/1.104, allocations: 4.346 MB / 1.208 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.104, allocations: 4 kB / 1.208 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.553e-06/1.104, allocations: 0 / 1.208 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001498/1.104, allocations: 0 / 1.208 GB, free: 8.324 MB / 0.9044 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.00928/1.114, allocations: 3.16 MB / 1.211 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.114, allocations: 8.75 kB / 1.211 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/1.118, allocations: 0.8439 MB / 1.212 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0059/1.124, allocations: 2.315 MB / 1.214 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.125, allocations: 127 kB / 1.214 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004383/1.125, allocations: 160 kB / 1.214 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004353/1.129, allocations: 1.926 MB / 1.216 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.129, allocations: 0 / 1.216 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.13, allocations: 64 kB / 1.216 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/1.13, allocations: 43.92 kB / 1.216 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004512/1.134, allocations: 1.796 MB / 1.218 GB, free: 13.65 MB / 0.92 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.01289/1.147, allocations: 8.954 MB / 1.227 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/1.151, allocations: 1.191 MB / 1.228 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/1.152, allocations: 457.4 kB / 1.228 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.154, allocations: 1.727 MB / 1.23 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.154, allocations: 38.56 kB / 1.23 GB, free: 288 kB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.154, allocations: 0 / 1.23 GB, free: 288 kB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008623/1.162, allocations: 2.33 MB / 1.232 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.162, allocations: 85.11 kB / 1.232 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/1.166, allocations: 2.496 MB / 1.235 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.167, allocations: 45.7 kB / 1.235 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008852/1.168, allocations: 1.041 MB / 1.236 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/1.168, allocations: 256.2 kB / 1.236 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/1.168, allocations: 266.6 kB / 1.236 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.168, allocations: 345.9 kB / 1.237 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/1.17, allocations: 0.5725 MB / 1.237 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/1.172, allocations: 0.9543 MB / 1.238 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/1.175, allocations: 1.244 MB / 1.239 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.175, allocations: 4 kB / 1.239 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006732/1.182, allocations: 2.024 MB / 1.241 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.182, allocations: 12 kB / 1.241 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.182, allocations: 8 kB / 1.241 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/1.183, allocations: 420.6 kB / 1.242 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.185, allocations: 291.5 kB / 1.242 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/1.187, allocations: 1.499 MB / 1.244 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.19, allocations: 362 kB / 1.244 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/1.19, allocations: 67.89 kB / 1.244 GB, free: 1.547 MB / 0.9356 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.001015/1.191, allocations: 465.5 kB / 1.244 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.192, allocations: 244.9 kB / 1.245 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/1.195, allocations: 1.501 MB / 1.246 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.195, allocations: 8 kB / 1.246 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.195, allocations: 3.938 kB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.196, allocations: 11.97 kB / 1.246 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007641/1.203, allocations: 3.596 MB / 1.25 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.203, allocations: 4 kB / 1.25 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/1.204, allocations: 136.1 kB / 1.25 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/1.205, allocations: 420.4 kB / 1.25 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/1.205, allocations: 27.97 kB / 1.25 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/1.208, allocations: 1.569 MB / 1.252 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.208, allocations: 7.938 kB / 1.252 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.214, allocations: 1.924 MB / 1.254 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.215, allocations: 485.6 kB / 1.254 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/1.215, allocations: 27.92 kB / 1.254 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.217, allocations: 135.8 kB / 1.254 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/1.217, allocations: 59.86 kB / 1.254 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.492e-05/1.217, allocations: 39.97 kB / 1.254 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002776/1.22, allocations: 1.75 MB / 1.256 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.22, allocations: 4 kB / 1.256 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001927/1.222, allocations: 0.6905 MB / 1.257 GB, free: 4.184 MB / 0.9512 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.001166/1.223, allocations: 0.6044 MB / 1.257 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003909/1.227, allocations: 1.346 MB / 1.259 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.227, allocations: 4.094 kB / 1.259 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.229, allocations: 0.6685 MB / 1.259 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.235, allocations: 1.33 MB / 1.261 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/1.241, allocations: 3.529 MB / 1.264 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.242, allocations: 1.486 MB / 1.266 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001831/1.244, allocations: 436.5 kB / 1.266 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/1.244, allocations: 171.4 kB / 1.266 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.244, allocations: 0 / 1.266 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.07651/1.321, allocations: 48.11 MB / 1.313 GB, free: 11.03 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches