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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001519/0.001519, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001526/0.001527, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.09 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8213, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1393/0.9606, allocations: 132.2 MB / 1.338 GB, free: 8.934 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03425/0.9949, allocations: 23.21 MB / 1.36 GB, free: 1.668 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0052/1, allocations: 123.2 kB / 1.36 GB, free: 1.547 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004739/1.005, allocations: 1.494 MB / 1.362 GB, free: 44 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/1.017, allocations: 4.093 MB / 1.366 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006059/1.023, allocations: 2.168 MB / 1.368 GB, free: 9.781 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.033, allocations: 6.53 MB / 1.374 GB, free: 3.234 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/1.038, allocations: 2.347 MB / 1.377 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007041/1.045, allocations: 2.798 MB / 1.379 GB, free: 14.03 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003706/1.049, allocations: 1.882 MB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008549/1.05, allocations: 248 kB / 1.381 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005366/1.055, allocations: 1.934 MB / 1.383 GB, free: 9.957 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001089/1.056, allocations: 0.5953 MB / 1.384 GB, free: 9.359 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/1.059, allocations: 1.458 MB / 1.385 GB, free: 7.895 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008371/1.067, allocations: 4.345 MB / 1.39 GB, free: 3.539 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.067, allocations: 3.938 kB / 1.39 GB, free: 3.535 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.913e-06/1.067, allocations: 3.938 kB / 1.39 GB, free: 3.531 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001266/1.067, allocations: 0 / 1.39 GB, free: 3.531 MB / 1.107 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.007429/1.075, allocations: 3.16 MB / 1.393 GB, free: 292 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.075, allocations: 8.031 kB / 1.393 GB, free: 284 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/1.08, allocations: 0.8438 MB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.085, allocations: 2.323 MB / 1.396 GB, free: 13.03 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.086, allocations: 127 kB / 1.396 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/1.086, allocations: 160 kB / 1.396 GB, free: 12.75 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/1.09, allocations: 1.923 MB / 1.398 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.09, allocations: 3.938 kB / 1.398 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/1.09, allocations: 67.98 kB / 1.398 GB, free: 10.69 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/1.091, allocations: 39.94 kB / 1.398 GB, free: 10.65 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004907/1.095, allocations: 1.792 MB / 1.4 GB, free: 8.859 MB / 1.123 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.01348/1.109, allocations: 8.965 MB / 1.408 GB, free: 15.29 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004574/1.114, allocations: 1.199 MB / 1.41 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/1.115, allocations: 453.4 kB / 1.41 GB, free: 13.63 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/1.116, allocations: 1.727 MB / 1.412 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/1.116, allocations: 38.56 kB / 1.412 GB, free: 11.47 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/1.116, allocations: 0 / 1.412 GB, free: 11.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.009365/1.126, allocations: 2.33 MB / 1.414 GB, free: 9.09 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/1.126, allocations: 85.11 kB / 1.414 GB, free: 8.988 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.13, allocations: 2.496 MB / 1.417 GB, free: 6.473 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.131, allocations: 45.7 kB / 1.417 GB, free: 6.422 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.132, allocations: 1.041 MB / 1.418 GB, free: 5.371 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/1.132, allocations: 272.1 kB / 1.418 GB, free: 5.102 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/1.133, allocations: 254.6 kB / 1.418 GB, free: 4.844 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.133, allocations: 345.9 kB / 1.419 GB, free: 4.5 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/1.135, allocations: 0.5686 MB / 1.419 GB, free: 3.934 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/1.137, allocations: 0.9504 MB / 1.42 GB, free: 2.832 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/1.14, allocations: 1.248 MB / 1.421 GB, free: 1.477 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.14, allocations: 7.938 kB / 1.421 GB, free: 1.469 MB / 1.139 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007217/1.147, allocations: 2.017 MB / 1.423 GB, free: 15.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/1.147, allocations: 8 kB / 1.423 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.147, allocations: 8 kB / 1.423 GB, free: 15.42 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/1.149, allocations: 425.5 kB / 1.424 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.151, allocations: 283.6 kB / 1.424 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/1.153, allocations: 1.505 MB / 1.425 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/1.156, allocations: 362 kB / 1.426 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/1.156, allocations: 59.95 kB / 1.426 GB, free: 12.75 MB / 1.154 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.001086/1.157, allocations: 473.5 kB / 1.426 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/1.158, allocations: 248.9 kB / 1.426 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/1.162, allocations: 1.49 MB / 1.428 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.162, allocations: 8 kB / 1.428 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.162, allocations: 7.984 kB / 1.428 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.162, allocations: 7.922 kB / 1.428 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/1.171, allocations: 3.6 MB / 1.431 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/1.171, allocations: 7.938 kB / 1.431 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/1.172, allocations: 132.2 kB / 1.432 GB, free: 6.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/1.174, allocations: 417.1 kB / 1.432 GB, free: 6.238 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.792e-05/1.174, allocations: 31.97 kB / 1.432 GB, free: 6.207 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/1.177, allocations: 1.565 MB / 1.434 GB, free: 4.59 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.177, allocations: 4 kB / 1.434 GB, free: 4.586 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/1.183, allocations: 1.935 MB / 1.435 GB, free: 2.582 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.185, allocations: 485.5 kB / 1.436 GB, free: 2.086 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006193/1.185, allocations: 27.92 kB / 1.436 GB, free: 2.059 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.187, allocations: 135.8 kB / 1.436 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.187, allocations: 59.86 kB / 1.436 GB, free: 1.867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.187, allocations: 43.91 kB / 1.436 GB, free: 1.824 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003721/1.191, allocations: 1.746 MB / 1.438 GB, free: 76 kB / 1.154 GB Notification: Performance of sort global known variables: time 4.11e-07/1.191, allocations: 4 kB / 1.438 GB, free: 72 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002575/1.194, allocations: 0.6867 MB / 1.439 GB, free: 15.38 MB / 1.17 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.001381/1.195, allocations: 0.6111 MB / 1.439 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004583/1.2, allocations: 1.345 MB / 1.44 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.2, allocations: 0 / 1.44 GB, free: 13.43 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.202, allocations: 0.6835 MB / 1.441 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006901/1.209, allocations: 1.324 MB / 1.442 GB, free: 11.44 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/1.217, allocations: 3.566 MB / 1.446 GB, free: 7.797 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.218, allocations: 1.478 MB / 1.447 GB, free: 6.289 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007/1.219, allocations: 187.4 kB / 1.447 GB, free: 6.105 MB / 1.17 GB Notification: Performance of SimCode: time 4.61e-07/1.219, allocations: 0 / 1.447 GB, free: 6.105 MB / 1.17 GB Notification: Performance of Templates: time 0.07779/1.297, allocations: 62.54 MB / 1.509 GB, free: 7.883 MB / 1.232 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches