Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008908/0.008908, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.001717/0.001717, allocations: 192.3 kB / 16.67 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.631/2.631, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9865/0.9878, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1278/1.116, allocations: 132.5 MB / 1.35 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03418/1.15, allocations: 23.23 MB / 1.373 GB, free: 5.895 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005946/1.156, allocations: 123.2 kB / 1.373 GB, free: 5.773 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/1.16, allocations: 1.553 MB / 1.374 GB, free: 4.211 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/1.173, allocations: 4.32 MB / 1.379 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006947/1.18, allocations: 2.18 MB / 1.381 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01065/1.191, allocations: 6.514 MB / 1.387 GB, free: 7.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/1.194, allocations: 1.902 MB / 1.389 GB, free: 5.215 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006632/1.201, allocations: 2.812 MB / 1.392 GB, free: 2.406 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/1.205, allocations: 1.875 MB / 1.393 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009497/1.205, allocations: 248 kB / 1.394 GB, free: 288 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005765/1.211, allocations: 1.938 MB / 1.396 GB, free: 14.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000888/1.212, allocations: 0.6223 MB / 1.396 GB, free: 13.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/1.214, allocations: 1.446 MB / 1.398 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008163/1.223, allocations: 4.38 MB / 1.402 GB, free: 7.871 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.223, allocations: 0 / 1.402 GB, free: 7.871 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.843e-06/1.223, allocations: 0 / 1.402 GB, free: 7.871 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.732e-05/1.223, allocations: 3.938 kB / 1.402 GB, free: 7.867 MB / 1.123 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.00668/1.229, allocations: 3.254 MB / 1.405 GB, free: 4.523 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.229, allocations: 8.031 kB / 1.405 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004305/1.234, allocations: 0.8571 MB / 1.406 GB, free: 3.656 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/1.238, allocations: 2.34 MB / 1.408 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/1.238, allocations: 127 kB / 1.408 GB, free: 1.117 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/1.239, allocations: 168 kB / 1.408 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/1.243, allocations: 1.919 MB / 1.41 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/1.243, allocations: 0 / 1.41 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/1.243, allocations: 68 kB / 1.41 GB, free: 14.9 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/1.243, allocations: 43.88 kB / 1.41 GB, free: 14.86 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004515/1.247, allocations: 1.784 MB / 1.412 GB, free: 13.07 MB / 1.139 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.01442/1.262, allocations: 8.98 MB / 1.421 GB, free: 3.496 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/1.266, allocations: 1.143 MB / 1.422 GB, free: 2.336 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/1.267, allocations: 433.4 kB / 1.422 GB, free: 1.906 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/1.268, allocations: 1.722 MB / 1.424 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/1.268, allocations: 46.56 kB / 1.424 GB, free: 15.74 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.915e-06/1.268, allocations: 4 kB / 1.424 GB, free: 15.74 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.008425/1.277, allocations: 2.332 MB / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/1.277, allocations: 89.11 kB / 1.427 GB, free: 13.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/1.282, allocations: 2.489 MB / 1.429 GB, free: 10.74 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.282, allocations: 45.7 kB / 1.429 GB, free: 10.69 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/1.283, allocations: 1.054 MB / 1.43 GB, free: 9.629 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/1.283, allocations: 285.5 kB / 1.43 GB, free: 9.348 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005011/1.284, allocations: 254.8 kB / 1.431 GB, free: 9.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.284, allocations: 345.9 kB / 1.431 GB, free: 8.746 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.286, allocations: 0.5686 MB / 1.431 GB, free: 8.18 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.288, allocations: 0.9543 MB / 1.432 GB, free: 7.07 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/1.291, allocations: 1.252 MB / 1.434 GB, free: 5.711 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.291, allocations: 7.938 kB / 1.434 GB, free: 5.703 MB / 1.154 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00662/1.297, allocations: 2.022 MB / 1.436 GB, free: 3.664 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/1.297, allocations: 8 kB / 1.436 GB, free: 3.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.297, allocations: 8 kB / 1.436 GB, free: 3.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/1.299, allocations: 421.8 kB / 1.436 GB, free: 3.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.3, allocations: 287.5 kB / 1.436 GB, free: 2.949 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.303, allocations: 1.503 MB / 1.438 GB, free: 1.395 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.306, allocations: 370.5 kB / 1.438 GB, free: 1.031 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/1.306, allocations: 63.97 kB / 1.438 GB, free: 0.9688 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.001213/1.307, allocations: 456.6 kB / 1.439 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008964/1.308, allocations: 262.3 kB / 1.439 GB, free: 264 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004623/1.313, allocations: 1.49 MB / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.313, allocations: 8 kB / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.313, allocations: 0 / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.313, allocations: 3.984 kB / 1.44 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009676/1.322, allocations: 3.6 MB / 1.444 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.322, allocations: 8.312 kB / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/1.323, allocations: 135.8 kB / 1.444 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/1.325, allocations: 417.1 kB / 1.444 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/1.325, allocations: 27.98 kB / 1.444 GB, free: 10.45 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/1.327, allocations: 1.572 MB / 1.446 GB, free: 8.828 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.327, allocations: 3.938 kB / 1.446 GB, free: 8.824 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/1.334, allocations: 1.941 MB / 1.448 GB, free: 6.816 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.335, allocations: 495 kB / 1.448 GB, free: 6.312 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007786/1.336, allocations: 23.94 kB / 1.448 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/1.338, allocations: 139.8 kB / 1.448 GB, free: 6.152 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/1.338, allocations: 59.88 kB / 1.449 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.339, allocations: 39.91 kB / 1.449 GB, free: 6.055 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00427/1.343, allocations: 1.75 MB / 1.45 GB, free: 4.301 MB / 1.17 GB Notification: Performance of sort global known variables: time 5e-08/1.343, allocations: 0 / 1.45 GB, free: 4.301 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003326/1.346, allocations: 0.6979 MB / 1.451 GB, free: 3.602 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.001702/1.348, allocations: 0.6249 MB / 1.452 GB, free: 2.977 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004877/1.353, allocations: 1.299 MB / 1.453 GB, free: 1.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/1.353, allocations: 192 / 1.453 GB, free: 1.68 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/1.355, allocations: 0.6411 MB / 1.453 GB, free: 1.039 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008621/1.364, allocations: 1.326 MB / 1.455 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00858/1.372, allocations: 3.598 MB / 1.458 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.374, allocations: 1.49 MB / 1.46 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002496/1.377, allocations: 432.5 kB / 1.46 GB, free: 10.12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/1.377, allocations: 167.4 kB / 1.46 GB, free: 9.953 MB / 1.186 GB Notification: Performance of SimCode: time 1.403e-06/1.377, allocations: 0 / 1.46 GB, free: 9.953 MB / 1.186 GB Notification: Performance of Templates: time 0.08037/1.458, allocations: 48.75 MB / 1.508 GB, free: 9.863 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches