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.0009966/0.0009966, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.009581/0.009581, allocations: 171.6 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.336 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.537/2.537, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005047, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.738, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1286/0.8666, allocations: 129.4 MB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03621/0.9029, allocations: 23.05 MB / 1.104 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.9077, allocations: 111.2 kB / 1.104 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004415/0.9122, allocations: 1.208 MB / 1.105 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.9244, allocations: 3.787 MB / 1.109 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006382/0.9308, allocations: 1.958 MB / 1.111 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01317/0.944, allocations: 8.27 MB / 1.119 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004044/0.9481, allocations: 1.914 MB / 1.121 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00661/0.9547, allocations: 2.298 MB / 1.123 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003712/0.9584, allocations: 1.788 MB / 1.125 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.9589, allocations: 88 kB / 1.125 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.9634, allocations: 1.711 MB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005993/0.9641, allocations: 453.5 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.9661, allocations: 1.295 MB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006634/0.9728, allocations: 4.139 MB / 1.132 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9728, allocations: 4 kB / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9728, allocations: 0 / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.845e-05/0.9729, allocations: 0 / 1.132 GB, free: 9.359 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.005658/0.9786, allocations: 2.674 MB / 1.135 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9786, allocations: 8.031 kB / 1.135 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.9836, allocations: 0.9567 MB / 1.136 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/0.9883, allocations: 2.284 MB / 1.138 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/0.9894, allocations: 322.8 kB / 1.138 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.9897, allocations: 160 kB / 1.138 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004504/0.9943, allocations: 1.985 MB / 1.14 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.9943, allocations: 7.875 kB / 1.14 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.9945, allocations: 64 kB / 1.14 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.9945, allocations: 36 kB / 1.141 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.9997, allocations: 1.893 MB / 1.142 GB, free: 14.75 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.01349/1.013, allocations: 9.102 MB / 1.151 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/1.018, allocations: 1.292 MB / 1.153 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/1.019, allocations: 482.2 kB / 1.153 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.02, allocations: 1.726 MB / 1.155 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.021, allocations: 42.5 kB / 1.155 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/1.021, allocations: 0 / 1.155 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.0095/1.03, allocations: 2.511 MB / 1.157 GB, free: 14.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.03, allocations: 85.11 kB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/1.034, allocations: 2.52 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.035, allocations: 41.7 kB / 1.16 GB, free: 11.85 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/1.036, allocations: 1.038 MB / 1.161 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/1.036, allocations: 268.2 kB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.036, allocations: 89.66 kB / 1.161 GB, free: 10.44 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.036, allocations: 349.9 kB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/1.038, allocations: 0.6311 MB / 1.162 GB, free: 9.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/1.04, allocations: 1.009 MB / 1.163 GB, free: 8.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003322/1.044, allocations: 1.326 MB / 1.164 GB, free: 6.875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.044, allocations: 8 kB / 1.164 GB, free: 6.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0074/1.051, allocations: 2.188 MB / 1.166 GB, free: 4.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.051, allocations: 11.94 kB / 1.166 GB, free: 4.648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.051, allocations: 12.03 kB / 1.166 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.053, allocations: 433.2 kB / 1.167 GB, free: 4.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.054, allocations: 307.5 kB / 1.167 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/1.057, allocations: 1.549 MB / 1.169 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/1.06, allocations: 479.9 kB / 1.169 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/1.061, allocations: 67.89 kB / 1.169 GB, free: 1.773 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.001254/1.062, allocations: 467.3 kB / 1.17 GB, free: 1.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007102/1.063, allocations: 248.9 kB / 1.17 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/1.067, allocations: 1.549 MB / 1.171 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.067, allocations: 8 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.067, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.067, allocations: 7.969 kB / 1.171 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008568/1.076, allocations: 3.69 MB / 1.175 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.076, allocations: 7.938 kB / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/1.076, allocations: 140.2 kB / 1.175 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.078, allocations: 443.2 kB / 1.176 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/1.078, allocations: 27.97 kB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/1.081, allocations: 1.631 MB / 1.177 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.081, allocations: 4 kB / 1.177 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006583/1.088, allocations: 2.076 MB / 1.179 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/1.089, allocations: 0.5054 MB / 1.18 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/1.09, allocations: 20 kB / 1.18 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/1.092, allocations: 195.7 kB / 1.18 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.092, allocations: 63.8 kB / 1.18 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.092, allocations: 39.97 kB / 1.18 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00347/1.096, allocations: 1.769 MB / 1.182 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.096, allocations: 0 / 1.182 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002576/1.098, allocations: 0.6827 MB / 1.182 GB, free: 3.938 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.00149/1.1, allocations: 0.6086 MB / 1.183 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004595/1.104, allocations: 1.439 MB / 1.184 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.104, allocations: 4 kB / 1.184 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.107, allocations: 0.7187 MB / 1.185 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008197/1.115, allocations: 1.313 MB / 1.186 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/1.122, allocations: 4.339 MB / 1.191 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/1.124, allocations: 1.491 MB / 1.192 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002762/1.126, allocations: 444.5 kB / 1.193 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/1.127, allocations: 175.4 kB / 1.193 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of SimCode: time 1.582e-06/1.127, allocations: 0 / 1.193 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of Templates: time 0.09572/1.223, allocations: 50.81 MB / 1.242 GB, free: 7.141 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