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.001286/0.001286, allocations: 91.84 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.01032/0.01032, allocations: 170 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 462.6 MB / 0.7363 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005132/0.0005132, allocations: 16.08 kB / 0.9027 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3936, allocations: 159.6 MB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1197/0.5133, allocations: 129.4 MB / 1.185 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0341/0.5475, allocations: 23.07 MB / 1.207 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005426/0.553, allocations: 111.2 kB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.5577, allocations: 1.204 MB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.5705, allocations: 3.767 MB / 1.212 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006315/0.5768, allocations: 1.954 MB / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01066/0.5875, allocations: 8.28 MB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.5915, allocations: 1.913 MB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006776/0.5983, allocations: 2.29 MB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/0.6028, allocations: 1.788 MB / 1.228 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.6039, allocations: 91.94 kB / 1.228 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.6097, allocations: 1.707 MB / 1.23 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.6108, allocations: 449.6 kB / 1.23 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.6142, allocations: 1.288 MB / 1.232 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008062/0.6223, allocations: 4.135 MB / 1.236 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6224, allocations: 0 / 1.236 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6224, allocations: 4 kB / 1.236 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000153/0.6225, allocations: 0 / 1.236 GB, free: 15.06 MB / 0.9981 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.006734/0.6293, allocations: 2.658 MB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6293, allocations: 15.97 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004952/0.6343, allocations: 0.957 MB / 1.239 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/0.6402, allocations: 2.271 MB / 1.242 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/0.6413, allocations: 318.9 kB / 1.242 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005378/0.6418, allocations: 156 kB / 1.242 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005097/0.6469, allocations: 1.981 MB / 1.244 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/0.647, allocations: 11.92 kB / 1.244 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.6472, allocations: 68 kB / 1.244 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.6472, allocations: 39.94 kB / 1.244 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005158/0.6524, allocations: 1.893 MB / 1.246 GB, free: 4.473 MB / 0.9981 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.7825/1.435, allocations: 9.084 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/1.44, allocations: 1.297 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.441, allocations: 488.6 kB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008259/1.442, allocations: 1.716 MB / 1.258 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.442, allocations: 50.42 kB / 1.258 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/1.442, allocations: 3.969 kB / 1.258 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009039/1.451, allocations: 2.5 MB / 1.261 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.451, allocations: 89.66 kB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/1.456, allocations: 2.507 MB / 1.263 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/1.456, allocations: 45.45 kB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009112/1.457, allocations: 1.04 MB / 1.264 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/1.457, allocations: 271.3 kB / 1.265 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/1.457, allocations: 89.25 kB / 1.265 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.457, allocations: 345.1 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/1.459, allocations: 0.6335 MB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/1.461, allocations: 1.006 MB / 1.267 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/1.465, allocations: 1.329 MB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.465, allocations: 2.75 kB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.008057/1.473, allocations: 2.199 MB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/1.473, allocations: 9.219 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.473, allocations: 11.52 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/1.475, allocations: 438.4 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.476, allocations: 311.4 kB / 1.271 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.478, allocations: 1.541 MB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/1.482, allocations: 483.9 kB / 1.273 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/1.483, allocations: 65.53 kB / 1.273 GB, free: 175.9 MB / 0.9981 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.001296/1.484, allocations: 458.2 kB / 1.273 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/1.485, allocations: 244.3 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/1.489, allocations: 1.552 MB / 1.275 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.489, allocations: 14.89 kB / 1.275 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.489, allocations: 2 kB / 1.275 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/1.489, allocations: 8.125 kB / 1.275 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009487/1.499, allocations: 3.679 MB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/1.499, allocations: 7.812 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/1.499, allocations: 135.2 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/1.501, allocations: 445.6 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/1.501, allocations: 32.14 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/1.504, allocations: 1.627 MB / 1.281 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.504, allocations: 3.25 kB / 1.281 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006851/1.511, allocations: 2.088 MB / 1.283 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/1.513, allocations: 0.5017 MB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/1.513, allocations: 20.39 kB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.515, allocations: 198 kB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.515, allocations: 58.53 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.515, allocations: 43.16 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00365/1.519, allocations: 1.766 MB / 1.285 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.955e-06/1.519, allocations: 0 / 1.285 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002895/1.522, allocations: 0.6909 MB / 1.286 GB, free: 171.6 MB / 0.9981 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.001463/1.523, allocations: 0.5815 MB / 1.287 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004948/1.528, allocations: 1.446 MB / 1.288 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.528, allocations: 1.25 kB / 1.288 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/1.531, allocations: 0.7263 MB / 1.289 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009684/1.54, allocations: 1.327 MB / 1.29 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/1.55, allocations: 4.33 MB / 1.294 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.552, allocations: 1.49 MB / 1.296 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002864/1.555, allocations: 443.9 kB / 1.296 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.556, allocations: 173.3 kB / 1.296 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.556, allocations: 0 / 1.296 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.08398/1.64, allocations: 50.74 MB / 1.346 GB, free: 121.5 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches