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.001135/0.001135, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009301/0.009301, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 9.344 kB / 0.9028 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1473/0.4813, allocations: 129.4 MB / 1.185 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03775/0.5191, allocations: 23.05 MB / 1.208 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005764/0.5249, allocations: 111.2 kB / 1.208 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005287/0.5302, allocations: 1.2 MB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.5444, allocations: 3.775 MB / 1.212 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0069/0.5514, allocations: 1.963 MB / 1.214 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.5649, allocations: 8.276 MB / 1.222 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004722/0.5697, allocations: 1.901 MB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008451/0.5782, allocations: 2.305 MB / 1.227 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00613/0.5844, allocations: 1.784 MB / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.5855, allocations: 88 kB / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006239/0.5918, allocations: 1.707 MB / 1.23 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.5933, allocations: 441.7 kB / 1.231 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00367/0.597, allocations: 1.299 MB / 1.232 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.607, allocations: 4.127 MB / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.607, allocations: 0 / 1.236 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.519e-06/0.6071, allocations: 4 kB / 1.236 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001824/0.6073, allocations: 3.938 kB / 1.236 GB, free: 15.45 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.007056/0.6143, allocations: 2.651 MB / 1.238 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6144, allocations: 12.03 kB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.6196, allocations: 0.9571 MB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005681/0.6253, allocations: 2.274 MB / 1.242 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/0.6265, allocations: 318.8 kB / 1.242 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004758/0.627, allocations: 164 kB / 1.242 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/0.6325, allocations: 1.981 MB / 1.244 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.6325, allocations: 0 / 1.244 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.6328, allocations: 68 kB / 1.244 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.6328, allocations: 39.94 kB / 1.244 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005662/0.6385, allocations: 1.901 MB / 1.246 GB, free: 4.867 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.8014/1.44, allocations: 9.068 MB / 1.255 GB, free: 70.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/1.445, allocations: 1.304 MB / 1.256 GB, free: 70.46 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/1.446, allocations: 482.6 kB / 1.257 GB, free: 70.45 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008847/1.447, allocations: 1.722 MB / 1.258 GB, free: 68.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.447, allocations: 47.12 kB / 1.258 GB, free: 68.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.797e-06/1.447, allocations: 0 / 1.258 GB, free: 68.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009758/1.457, allocations: 2.505 MB / 1.261 GB, free: 68.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.457, allocations: 86.14 kB / 1.261 GB, free: 68.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004916/1.462, allocations: 2.509 MB / 1.263 GB, free: 67.79 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/1.462, allocations: 44.39 kB / 1.263 GB, free: 67.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008935/1.463, allocations: 1.047 MB / 1.264 GB, free: 67.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/1.463, allocations: 271.3 kB / 1.265 GB, free: 67.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.463, allocations: 86.11 kB / 1.265 GB, free: 67.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.463, allocations: 350.3 kB / 1.265 GB, free: 67.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/1.465, allocations: 0.6285 MB / 1.266 GB, free: 67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.467, allocations: 1.013 MB / 1.267 GB, free: 66.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/1.471, allocations: 1.326 MB / 1.268 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.471, allocations: 2 kB / 1.268 GB, free: 66.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007987/1.479, allocations: 2.188 MB / 1.27 GB, free: 65.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.479, allocations: 11.75 kB / 1.27 GB, free: 65.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/1.479, allocations: 9.328 kB / 1.27 GB, free: 65.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/1.481, allocations: 436.5 kB / 1.27 GB, free: 65.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/1.482, allocations: 307.7 kB / 1.271 GB, free: 65.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/1.484, allocations: 1.551 MB / 1.272 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.488, allocations: 479.8 kB / 1.273 GB, free: 64.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.489, allocations: 66.5 kB / 1.273 GB, free: 64.76 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.001244/1.49, allocations: 458.8 kB / 1.273 GB, free: 64.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007644/1.491, allocations: 244 kB / 1.273 GB, free: 64.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/1.495, allocations: 1.557 MB / 1.275 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.495, allocations: 10.41 kB / 1.275 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.495, allocations: 2.375 kB / 1.275 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/1.495, allocations: 5.109 kB / 1.275 GB, free: 64.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009478/1.505, allocations: 3.685 MB / 1.279 GB, free: 63.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.505, allocations: 2.781 kB / 1.279 GB, free: 63.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/1.505, allocations: 138.6 kB / 1.279 GB, free: 63.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/1.507, allocations: 438.9 kB / 1.279 GB, free: 63.71 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/1.507, allocations: 30.02 kB / 1.279 GB, free: 63.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/1.51, allocations: 1.63 MB / 1.281 GB, free: 62.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/1.51, allocations: 8.094 kB / 1.281 GB, free: 62.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/1.517, allocations: 2.073 MB / 1.283 GB, free: 62.12 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.519, allocations: 0.5096 MB / 1.283 GB, free: 61.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.519, allocations: 17.66 kB / 1.283 GB, free: 61.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.521, allocations: 202.6 kB / 1.283 GB, free: 61.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.521, allocations: 54.77 kB / 1.284 GB, free: 61.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.522, allocations: 44.02 kB / 1.284 GB, free: 61.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003507/1.525, allocations: 1.767 MB / 1.285 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.525, allocations: 0 / 1.285 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002802/1.528, allocations: 0.6799 MB / 1.286 GB, free: 61.65 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.001327/1.529, allocations: 0.5951 MB / 1.287 GB, free: 61.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004509/1.534, allocations: 1.441 MB / 1.288 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/1.534, allocations: 3.641 kB / 1.288 GB, free: 61.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002411/1.536, allocations: 0.7326 MB / 1.289 GB, free: 61.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007749/1.544, allocations: 1.322 MB / 1.29 GB, free: 61.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/1.551, allocations: 4.351 MB / 1.294 GB, free: 59.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.552, allocations: 1.487 MB / 1.296 GB, free: 58.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002549/1.554, allocations: 433.2 kB / 1.296 GB, free: 58.28 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/1.555, allocations: 180.7 kB / 1.296 GB, free: 58.27 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.555, allocations: 0 / 1.296 GB, free: 58.27 MB / 0.9981 GB Notification: Performance of Templates: time 0.08036/1.635, allocations: 50.74 MB / 1.346 GB, free: 33.9 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