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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001692/0.001692, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.001865/0.001866, allocations: 192.2 kB / 16.91 MB, free: 5.754 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.48 kB / 0.8694 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3407, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.628/0.9687, allocations: 131.1 MB / 1.145 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03596/1.005, allocations: 23.05 MB / 1.168 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/1.01, allocations: 110.9 kB / 1.168 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0047/1.015, allocations: 1.283 MB / 1.169 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/1.028, allocations: 3.826 MB / 1.173 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006223/1.034, allocations: 1.975 MB / 1.175 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01088/1.045, allocations: 6.575 MB / 1.181 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00441/1.049, allocations: 2.339 MB / 1.184 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/1.057, allocations: 2.758 MB / 1.186 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/1.062, allocations: 1.94 MB / 1.188 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009146/1.063, allocations: 246.1 kB / 1.189 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005714/1.068, allocations: 1.954 MB / 1.19 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009911/1.069, allocations: 0.6007 MB / 1.191 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/1.072, allocations: 1.457 MB / 1.192 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005554/1.078, allocations: 3.368 MB / 1.196 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.078, allocations: 0 / 1.196 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/1.078, allocations: 0 / 1.196 GB, free: 7.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.791e-05/1.078, allocations: 0 / 1.196 GB, free: 7.984 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.007037/1.085, allocations: 3.166 MB / 1.199 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.085, allocations: 12.86 kB / 1.199 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005033/1.09, allocations: 0.84 MB / 1.2 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005358/1.095, allocations: 2.26 MB / 1.202 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/1.097, allocations: 290.8 kB / 1.202 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/1.097, allocations: 167.9 kB / 1.202 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/1.102, allocations: 1.942 MB / 1.204 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/1.102, allocations: 0 / 1.204 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/1.102, allocations: 71.94 kB / 1.204 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/1.102, allocations: 39.94 kB / 1.204 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/1.107, allocations: 1.815 MB / 1.206 GB, free: 14.04 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.01602/1.123, allocations: 9.008 MB / 1.215 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.128, allocations: 1.189 MB / 1.216 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.129, allocations: 459 kB / 1.216 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.13, allocations: 1.723 MB / 1.218 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.13, allocations: 42.56 kB / 1.218 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/1.13, allocations: 0 / 1.218 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009545/1.14, allocations: 2.329 MB / 1.22 GB, free: 14.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/1.14, allocations: 85.11 kB / 1.221 GB, free: 14.13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/1.145, allocations: 2.492 MB / 1.223 GB, free: 11.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.145, allocations: 45.7 kB / 1.223 GB, free: 11.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.146, allocations: 1.034 MB / 1.224 GB, free: 10.52 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/1.146, allocations: 272.2 kB / 1.224 GB, free: 10.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/1.147, allocations: 254.6 kB / 1.225 GB, free: 9.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.147, allocations: 353.9 kB / 1.225 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.149, allocations: 0.5803 MB / 1.225 GB, free: 9.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/1.151, allocations: 0.9738 MB / 1.226 GB, free: 7.938 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/1.154, allocations: 1.267 MB / 1.228 GB, free: 6.566 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.154, allocations: 4 kB / 1.228 GB, free: 6.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007153/1.161, allocations: 2.051 MB / 1.23 GB, free: 4.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.162, allocations: 10.81 kB / 1.23 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.162, allocations: 8 kB / 1.23 GB, free: 4.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/1.163, allocations: 417.8 kB / 1.23 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.165, allocations: 291.5 kB / 1.23 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.167, allocations: 1.503 MB / 1.232 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.171, allocations: 447.8 kB / 1.232 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/1.171, allocations: 63.97 kB / 1.232 GB, free: 1.727 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.0009802/1.172, allocations: 456 kB / 1.233 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/1.172, allocations: 248.9 kB / 1.233 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/1.176, allocations: 1.494 MB / 1.234 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/1.176, allocations: 8 kB / 1.234 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.176, allocations: 4 kB / 1.234 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.176, allocations: 3.984 kB / 1.234 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/1.185, allocations: 3.595 MB / 1.238 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.185, allocations: 7.984 kB / 1.238 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006343/1.185, allocations: 124.2 kB / 1.238 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/1.187, allocations: 413.2 kB / 1.238 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/1.187, allocations: 27.97 kB / 1.238 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/1.19, allocations: 1.571 MB / 1.24 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.19, allocations: 7.938 kB / 1.24 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006259/1.196, allocations: 1.927 MB / 1.242 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.198, allocations: 489.5 kB / 1.242 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/1.198, allocations: 19.98 kB / 1.242 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/1.2, allocations: 171.7 kB / 1.243 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.2, allocations: 67.73 kB / 1.243 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.2, allocations: 39.97 kB / 1.243 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003207/1.203, allocations: 1.746 MB / 1.244 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.203, allocations: 0 / 1.244 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002467/1.206, allocations: 0.6788 MB / 1.245 GB, free: 4.375 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.001342/1.207, allocations: 0.6012 MB / 1.246 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004555/1.212, allocations: 1.401 MB / 1.247 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/1.212, allocations: 0 / 1.247 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.214, allocations: 0.6608 MB / 1.248 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006658/1.221, allocations: 1.337 MB / 1.249 GB, free: 428 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/1.228, allocations: 4.337 MB / 1.253 GB, free: 12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/1.23, allocations: 1.482 MB / 1.255 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/1.23, allocations: 183.4 kB / 1.255 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of SimCode: time 9.52e-07/1.23, allocations: 0 / 1.255 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.08907/1.32, allocations: 62 MB / 1.315 GB, free: 12.62 MB / 1.014 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=400 -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