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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00143/0.00143, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.482/2.482, allocations: 390.2 MB / 0.6642 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6853, allocations: 140.3 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1508/0.8361, allocations: 131.4 MB / 1.077 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03708/0.8732, allocations: 23.31 MB / 1.1 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006892/0.8802, allocations: 115.2 kB / 1.1 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.8854, allocations: 1.208 MB / 1.101 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.898, allocations: 3.781 MB / 1.105 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005807/0.9039, allocations: 1.962 MB / 1.107 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.9154, allocations: 8.276 MB / 1.115 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004323/0.9197, allocations: 1.972 MB / 1.117 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007008/0.9268, allocations: 2.36 MB / 1.119 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004932/0.9317, allocations: 1.87 MB / 1.121 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007732/0.9325, allocations: 124 kB / 1.121 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006666/0.9392, allocations: 1.742 MB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.9407, allocations: 485.6 kB / 1.123 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.9441, allocations: 1.329 MB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009021/0.9531, allocations: 4.23 MB / 1.129 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9532, allocations: 4 kB / 1.129 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9532, allocations: 0 / 1.129 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001602/0.9533, allocations: 0 / 1.129 GB, free: 9.43 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.008467/0.9618, allocations: 3.176 MB / 1.132 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.9619, allocations: 8.031 kB / 1.132 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.9664, allocations: 0.8318 MB / 1.133 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004591/0.971, allocations: 2.287 MB / 1.135 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008545/0.9719, allocations: 290.8 kB / 1.135 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.9722, allocations: 164 kB / 1.135 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00408/0.9763, allocations: 1.942 MB / 1.137 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.9763, allocations: 0 / 1.137 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.9765, allocations: 64 kB / 1.137 GB, free: 456 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.9765, allocations: 36 kB / 1.137 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.9811, allocations: 1.815 MB / 1.139 GB, free: 14.59 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.01356/0.9946, allocations: 9.019 MB / 1.148 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004087/0.9988, allocations: 1.189 MB / 1.149 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9998, allocations: 465.4 kB / 1.149 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/1.001, allocations: 1.719 MB / 1.151 GB, free: 1.203 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.001, allocations: 46.5 kB / 1.151 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.657e-06/1.001, allocations: 0 / 1.151 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00873/1.01, allocations: 2.332 MB / 1.153 GB, free: 14.76 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.01, allocations: 89.09 kB / 1.154 GB, free: 14.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004488/1.014, allocations: 2.489 MB / 1.156 GB, free: 12.15 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/1.015, allocations: 49.64 kB / 1.156 GB, free: 12.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/1.016, allocations: 1.045 MB / 1.157 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.016, allocations: 264.2 kB / 1.157 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/1.017, allocations: 258.5 kB / 1.158 GB, free: 10.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.017, allocations: 349.9 kB / 1.158 GB, free: 10.17 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/1.018, allocations: 0.5919 MB / 1.158 GB, free: 9.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.021, allocations: 0.966 MB / 1.159 GB, free: 8.461 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/1.024, allocations: 1.26 MB / 1.161 GB, free: 7.098 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.024, allocations: 4 kB / 1.161 GB, free: 7.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006593/1.03, allocations: 2.044 MB / 1.163 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.03, allocations: 8 kB / 1.163 GB, free: 5.027 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.03, allocations: 8 kB / 1.163 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/1.032, allocations: 421.5 kB / 1.163 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.033, allocations: 291.6 kB / 1.163 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.035, allocations: 1.502 MB / 1.165 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00315/1.039, allocations: 437.8 kB / 1.165 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.039, allocations: 63.97 kB / 1.165 GB, free: 2.273 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.001049/1.04, allocations: 461.5 kB / 1.166 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007293/1.041, allocations: 245 kB / 1.166 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/1.045, allocations: 1.502 MB / 1.167 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.045, allocations: 23.98 kB / 1.167 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.045, allocations: 0 / 1.167 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.045, allocations: 7.922 kB / 1.167 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008729/1.053, allocations: 3.585 MB / 1.171 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.053, allocations: 4 kB / 1.171 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/1.054, allocations: 127.8 kB / 1.171 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/1.056, allocations: 425.3 kB / 1.171 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.056, allocations: 27.98 kB / 1.172 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/1.059, allocations: 1.569 MB / 1.173 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.059, allocations: 4 kB / 1.173 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/1.065, allocations: 1.931 MB / 1.175 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.067, allocations: 493.5 kB / 1.175 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008488/1.068, allocations: 23.94 kB / 1.175 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.07, allocations: 171.7 kB / 1.176 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.07, allocations: 55.86 kB / 1.176 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.07, allocations: 43.91 kB / 1.176 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003208/1.073, allocations: 1.753 MB / 1.177 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.073, allocations: 0 / 1.177 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002384/1.076, allocations: 0.6828 MB / 1.178 GB, free: 4.883 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.001201/1.077, allocations: 0.5906 MB / 1.179 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004257/1.081, allocations: 1.357 MB / 1.18 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.081, allocations: 0 / 1.18 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/1.084, allocations: 0.6602 MB / 1.181 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/1.09, allocations: 1.258 MB / 1.182 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/1.098, allocations: 4.298 MB / 1.186 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.099, allocations: 1.486 MB / 1.188 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002494/1.102, allocations: 436.5 kB / 1.188 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/1.102, allocations: 171.4 kB / 1.188 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of SimCode: time 1.262e-06/1.102, allocations: 0 / 1.188 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.08002/1.182, allocations: 48.43 MB / 1.235 GB, free: 10.75 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