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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001454/0.001454, allocations: 100.6 kB / 16.36 MB, free: 6.441 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.00151/0.00151, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.427/1.427, 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 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.61 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2707, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1257/0.3964, allocations: 132.2 MB / 1.08 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.6824/1.079, allocations: 23.21 MB / 1.103 GB, free: 45.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006285/1.085, allocations: 125.3 kB / 1.103 GB, free: 45.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/1.09, allocations: 1.487 MB / 1.104 GB, free: 45.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01501/1.105, allocations: 4.098 MB / 1.108 GB, free: 45.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008166/1.113, allocations: 2.173 MB / 1.111 GB, free: 45.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01305/1.126, allocations: 6.533 MB / 1.117 GB, free: 45.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005015/1.132, allocations: 2.366 MB / 1.119 GB, free: 44.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/1.142, allocations: 2.756 MB / 1.122 GB, free: 44.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/1.149, allocations: 1.884 MB / 1.124 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/1.15, allocations: 251.2 kB / 1.124 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007495/1.158, allocations: 1.944 MB / 1.126 GB, free: 42.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/1.159, allocations: 0.5879 MB / 1.127 GB, free: 42.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003895/1.163, allocations: 1.471 MB / 1.128 GB, free: 41.62 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/1.174, allocations: 4.34 MB / 1.132 GB, free: 40.13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.174, allocations: 0 / 1.132 GB, free: 40.13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/1.174, allocations: 0 / 1.132 GB, free: 40.13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001434/1.174, allocations: 0 / 1.132 GB, free: 40.13 MB / 0.8575 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.008436/1.182, allocations: 3.182 MB / 1.135 GB, free: 38.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.182, allocations: 9.594 kB / 1.135 GB, free: 38.13 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004686/1.187, allocations: 0.8394 MB / 1.136 GB, free: 37.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005969/1.193, allocations: 2.338 MB / 1.138 GB, free: 36.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/1.193, allocations: 127.7 kB / 1.139 GB, free: 36.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/1.194, allocations: 162.1 kB / 1.139 GB, free: 36.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/1.198, allocations: 1.917 MB / 1.141 GB, free: 35.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/1.198, allocations: 4.938 kB / 1.141 GB, free: 35.76 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/1.199, allocations: 66.34 kB / 1.141 GB, free: 35.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/1.199, allocations: 41.53 kB / 1.141 GB, free: 35.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/1.203, allocations: 1.781 MB / 1.142 GB, free: 35.11 MB / 0.8575 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.01402/1.217, allocations: 8.982 MB / 1.151 GB, free: 28.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/1.222, allocations: 1.191 MB / 1.152 GB, free: 28.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/1.223, allocations: 458.2 kB / 1.153 GB, free: 28.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008368/1.224, allocations: 1.728 MB / 1.154 GB, free: 26.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/1.224, allocations: 37.22 kB / 1.155 GB, free: 26.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/1.224, allocations: 2.812 kB / 1.155 GB, free: 26.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.008398/1.232, allocations: 2.328 MB / 1.157 GB, free: 24.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.232, allocations: 93.05 kB / 1.157 GB, free: 24.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/1.237, allocations: 2.498 MB / 1.159 GB, free: 23.38 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002942/1.237, allocations: 46.36 kB / 1.159 GB, free: 23.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/1.238, allocations: 1.043 MB / 1.16 GB, free: 22.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/1.238, allocations: 268.1 kB / 1.161 GB, free: 22.19 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/1.239, allocations: 251.8 kB / 1.161 GB, free: 22.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/1.239, allocations: 348 kB / 1.161 GB, free: 21.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/1.24, allocations: 0.5711 MB / 1.162 GB, free: 21.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/1.242, allocations: 0.9542 MB / 1.163 GB, free: 20.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/1.245, allocations: 1.251 MB / 1.164 GB, free: 19.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/1.245, allocations: 2.938 kB / 1.164 GB, free: 19.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006299/1.251, allocations: 2.027 MB / 1.166 GB, free: 18.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/1.251, allocations: 9.562 kB / 1.166 GB, free: 18.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.251, allocations: 7.344 kB / 1.166 GB, free: 18.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.253, allocations: 420.4 kB / 1.166 GB, free: 18.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.254, allocations: 286.8 kB / 1.167 GB, free: 18.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/1.256, allocations: 1.504 MB / 1.168 GB, free: 17.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003577/1.259, allocations: 369.6 kB / 1.168 GB, free: 17.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002485/1.26, allocations: 56.62 kB / 1.168 GB, free: 17.07 MB / 0.8575 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.001069/1.261, allocations: 463.4 kB / 1.169 GB, free: 16.74 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007117/1.261, allocations: 250.9 kB / 1.169 GB, free: 16.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/1.265, allocations: 1.485 MB / 1.171 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.265, allocations: 10.56 kB / 1.171 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.265, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/1.265, allocations: 7.984 kB / 1.171 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/1.272, allocations: 3.596 MB / 1.174 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.273, allocations: 12.61 kB / 1.174 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/1.273, allocations: 122 kB / 1.174 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/1.275, allocations: 423 kB / 1.175 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/1.275, allocations: 27.92 kB / 1.175 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.277, allocations: 1.558 MB / 1.176 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/1.277, allocations: 9.5 kB / 1.176 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/1.282, allocations: 1.939 MB / 1.178 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.284, allocations: 489.2 kB / 1.179 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/1.284, allocations: 14.59 kB / 1.179 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.286, allocations: 140.8 kB / 1.179 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.286, allocations: 65.28 kB / 1.179 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/1.286, allocations: 42.47 kB / 1.179 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002737/1.289, allocations: 1.752 MB / 1.181 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.41e-07/1.289, allocations: 3.938 kB / 1.181 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002567/1.292, allocations: 0.6877 MB / 1.181 GB, free: 8.965 MB / 0.8575 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.001324/1.293, allocations: 0.6242 MB / 1.182 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003915/1.297, allocations: 1.361 MB / 1.183 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.297, allocations: 0 / 1.183 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.299, allocations: 0.6649 MB / 1.184 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/1.305, allocations: 1.324 MB / 1.185 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/1.311, allocations: 3.525 MB / 1.189 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/1.312, allocations: 1.486 MB / 1.19 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001995/1.314, allocations: 435.6 kB / 1.19 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/1.314, allocations: 171.4 kB / 1.191 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of SimCode: time 1.313e-06/1.314, allocations: 4 kB / 1.191 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of Templates: time 0.08114/1.395, allocations: 48.18 MB / 1.238 GB, free: 2.051 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches