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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.001271, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.429/2.429, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8068, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1393/0.9461, allocations: 132.2 MB / 1.079 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03314/0.9793, allocations: 23.22 MB / 1.101 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004429/0.9838, allocations: 119.3 kB / 1.102 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.9879, allocations: 1.494 MB / 1.103 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.9992, allocations: 4.093 MB / 1.107 GB, free: 220 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006159/1.005, allocations: 2.145 MB / 1.109 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009679/1.015, allocations: 6.517 MB / 1.115 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/1.019, allocations: 2.365 MB / 1.118 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006042/1.025, allocations: 2.742 MB / 1.12 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/1.028, allocations: 1.875 MB / 1.122 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006016/1.029, allocations: 248 kB / 1.122 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/1.034, allocations: 1.934 MB / 1.124 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006817/1.034, allocations: 0.5992 MB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00209/1.036, allocations: 1.462 MB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00749/1.044, allocations: 4.308 MB / 1.131 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.044, allocations: 0 / 1.131 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.735e-06/1.044, allocations: 0 / 1.131 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.194e-05/1.044, allocations: 4 kB / 1.131 GB, free: 7.926 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.006122/1.05, allocations: 3.176 MB / 1.134 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.05, allocations: 12.03 kB / 1.134 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/1.055, allocations: 0.8357 MB / 1.135 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/1.059, allocations: 2.221 MB / 1.137 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/1.06, allocations: 286.9 kB / 1.137 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/1.061, allocations: 164 kB / 1.137 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/1.065, allocations: 1.938 MB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.065, allocations: 3.938 kB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.065, allocations: 68 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/1.065, allocations: 36 kB / 1.139 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004917/1.07, allocations: 1.815 MB / 1.141 GB, free: 13.15 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.01507/1.085, allocations: 9.07 MB / 1.15 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/1.09, allocations: 1.189 MB / 1.151 GB, free: 2.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.091, allocations: 465.4 kB / 1.151 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.092, allocations: 1.723 MB / 1.153 GB, free: 15.7 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.093, allocations: 50.44 kB / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/1.093, allocations: 0 / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.009382/1.102, allocations: 2.32 MB / 1.155 GB, free: 13.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/1.102, allocations: 93.05 kB / 1.155 GB, free: 13.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/1.107, allocations: 2.512 MB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/1.107, allocations: 45.7 kB / 1.158 GB, free: 10.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/1.108, allocations: 1.049 MB / 1.159 GB, free: 9.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003483/1.108, allocations: 272.2 kB / 1.159 GB, free: 9.246 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004391/1.109, allocations: 250.6 kB / 1.159 GB, free: 8.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.109, allocations: 345.9 kB / 1.16 GB, free: 8.652 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/1.111, allocations: 0.592 MB / 1.16 GB, free: 8.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/1.113, allocations: 0.966 MB / 1.161 GB, free: 6.941 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/1.116, allocations: 1.26 MB / 1.163 GB, free: 5.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.116, allocations: 4 kB / 1.163 GB, free: 5.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00713/1.123, allocations: 2.048 MB / 1.165 GB, free: 3.512 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/1.123, allocations: 12 kB / 1.165 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.123, allocations: 8 kB / 1.165 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/1.125, allocations: 421.5 kB / 1.165 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.126, allocations: 291.6 kB / 1.165 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/1.128, allocations: 1.498 MB / 1.167 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.132, allocations: 394 kB / 1.167 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.132, allocations: 63.91 kB / 1.167 GB, free: 0.793 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.0009404/1.133, allocations: 470.4 kB / 1.168 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/1.133, allocations: 248.9 kB / 1.168 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/1.137, allocations: 1.494 MB / 1.169 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/1.137, allocations: 19.98 kB / 1.169 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.137, allocations: 0 / 1.169 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.137, allocations: 3.984 kB / 1.169 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/1.145, allocations: 3.604 MB / 1.173 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.145, allocations: 4 kB / 1.173 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/1.146, allocations: 135.8 kB / 1.173 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/1.148, allocations: 419 kB / 1.173 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-05/1.148, allocations: 31.97 kB / 1.173 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/1.15, allocations: 1.573 MB / 1.175 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.15, allocations: 0 / 1.175 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/1.157, allocations: 1.939 MB / 1.177 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.158, allocations: 481.7 kB / 1.177 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/1.159, allocations: 19.98 kB / 1.177 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.161, allocations: 139.8 kB / 1.177 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.161, allocations: 59.86 kB / 1.177 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.161, allocations: 43.97 kB / 1.178 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00327/1.164, allocations: 1.769 MB / 1.179 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/1.164, allocations: 4 kB / 1.179 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002301/1.167, allocations: 0.6866 MB / 1.18 GB, free: 3.391 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.001285/1.168, allocations: 0.6174 MB / 1.181 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004715/1.173, allocations: 1.4 MB / 1.182 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.173, allocations: 0 / 1.182 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/1.175, allocations: 0.6642 MB / 1.183 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007/1.182, allocations: 1.329 MB / 1.184 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/1.189, allocations: 3.58 MB / 1.187 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/1.19, allocations: 1.49 MB / 1.189 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002147/1.192, allocations: 436.5 kB / 1.189 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.193, allocations: 179.4 kB / 1.189 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of SimCode: time 8.21e-07/1.193, allocations: 0 / 1.189 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of Templates: time 0.0842/1.277, allocations: 50.95 MB / 1.239 GB, free: 7.367 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