Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001673/0.001673, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001469/0.001469, allocations: 194.4 kB / 17.31 MB, free: 5.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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.78 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.342, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.7316/1.074, allocations: 132.2 MB / 1.148 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03834/1.112, allocations: 23.21 MB / 1.171 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006234/1.118, allocations: 124.2 kB / 1.171 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005123/1.123, allocations: 1.494 MB / 1.172 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01315/1.137, allocations: 4.095 MB / 1.176 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006204/1.143, allocations: 2.16 MB / 1.178 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01178/1.155, allocations: 6.551 MB / 1.185 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/1.159, allocations: 2.348 MB / 1.187 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007876/1.167, allocations: 2.746 MB / 1.19 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004047/1.171, allocations: 1.879 MB / 1.191 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007746/1.172, allocations: 246.9 kB / 1.192 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005679/1.177, allocations: 1.94 MB / 1.194 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.178, allocations: 0.5891 MB / 1.194 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003105/1.182, allocations: 1.458 MB / 1.196 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009502/1.191, allocations: 4.348 MB / 1.2 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/1.191, allocations: 0 / 1.2 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/1.191, allocations: 0 / 1.2 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001079/1.191, allocations: 2.594 kB / 1.2 GB, free: 4.84 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.007081/1.198, allocations: 3.158 MB / 1.203 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.198, allocations: 12.92 kB / 1.203 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004545/1.203, allocations: 0.8479 MB / 1.204 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005339/1.208, allocations: 2.319 MB / 1.206 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/1.209, allocations: 123 kB / 1.206 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/1.209, allocations: 164 kB / 1.206 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/1.213, allocations: 1.926 MB / 1.208 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/1.213, allocations: 7.922 kB / 1.208 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.213, allocations: 64 kB / 1.208 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/1.213, allocations: 36 kB / 1.208 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004551/1.218, allocations: 1.792 MB / 1.21 GB, free: 10.27 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.01399/1.232, allocations: 8.969 MB / 1.219 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.236, allocations: 1.187 MB / 1.22 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.237, allocations: 461.4 kB / 1.22 GB, free: 15.03 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.238, allocations: 1.727 MB / 1.222 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.238, allocations: 42.5 kB / 1.222 GB, free: 12.87 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.404e-06/1.238, allocations: 0 / 1.222 GB, free: 12.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008442/1.247, allocations: 2.321 MB / 1.224 GB, free: 10.49 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/1.247, allocations: 85.11 kB / 1.224 GB, free: 10.39 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003995/1.251, allocations: 2.5 MB / 1.227 GB, free: 7.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/1.251, allocations: 45.7 kB / 1.227 GB, free: 7.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000844/1.252, allocations: 1.034 MB / 1.228 GB, free: 6.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/1.252, allocations: 268.2 kB / 1.228 GB, free: 6.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004277/1.252, allocations: 258.6 kB / 1.228 GB, free: 6.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.253, allocations: 353.9 kB / 1.229 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.254, allocations: 0.5725 MB / 1.229 GB, free: 5.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.256, allocations: 0.9465 MB / 1.23 GB, free: 4.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/1.259, allocations: 1.244 MB / 1.232 GB, free: 2.883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/1.259, allocations: 4 kB / 1.232 GB, free: 2.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006372/1.265, allocations: 2.024 MB / 1.234 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/1.266, allocations: 8 kB / 1.234 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.266, allocations: 8 kB / 1.234 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/1.267, allocations: 425.6 kB / 1.234 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.268, allocations: 279.6 kB / 1.234 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.271, allocations: 1.503 MB / 1.236 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/1.274, allocations: 366 kB / 1.236 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.274, allocations: 63.89 kB / 1.236 GB, free: 14.15 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.0009041/1.275, allocations: 462.9 kB / 1.237 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/1.275, allocations: 248.9 kB / 1.237 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003506/1.279, allocations: 1.498 MB / 1.238 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.279, allocations: 8 kB / 1.238 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.279, allocations: 0 / 1.238 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.279, allocations: 7.969 kB / 1.238 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007844/1.287, allocations: 3.602 MB / 1.242 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.287, allocations: 0 / 1.242 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/1.287, allocations: 140.1 kB / 1.242 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/1.289, allocations: 413.2 kB / 1.242 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/1.289, allocations: 31.95 kB / 1.242 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/1.291, allocations: 1.571 MB / 1.244 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.291, allocations: 4 kB / 1.244 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006013/1.297, allocations: 1.927 MB / 1.246 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/1.299, allocations: 485.7 kB / 1.246 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/1.3, allocations: 27.88 kB / 1.246 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.301, allocations: 143.8 kB / 1.246 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/1.301, allocations: 55.92 kB / 1.246 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.301, allocations: 39.97 kB / 1.246 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003173/1.305, allocations: 1.753 MB / 1.248 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.305, allocations: 7.938 kB / 1.248 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002559/1.307, allocations: 0.6866 MB / 1.249 GB, free: 0.7812 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.001212/1.308, allocations: 0.6063 MB / 1.249 GB, free: 180 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004005/1.312, allocations: 1.35 MB / 1.251 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.312, allocations: 4 kB / 1.251 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.315, allocations: 0.6612 MB / 1.251 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/1.32, allocations: 1.319 MB / 1.253 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/1.327, allocations: 3.536 MB / 1.256 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.328, allocations: 1.486 MB / 1.258 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001868/1.33, allocations: 436.5 kB / 1.258 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.33, allocations: 167.4 kB / 1.258 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/1.33, allocations: 4 kB / 1.258 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of Templates: time 0.07972/1.41, allocations: 48.13 MB / 1.305 GB, free: 7.691 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches