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.001958/0.001958, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002341/0.002341, allocations: 195.8 kB / 16.14 MB, free: 6.629 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.567/1.567, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.794/2.794, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.88 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6887, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1483/0.8371, allocations: 131.4 MB / 1.145 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03457/0.8717, allocations: 23.32 MB / 1.168 GB, free: 7.562 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006429/0.8782, allocations: 111.2 kB / 1.168 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.8835, allocations: 1.212 MB / 1.169 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.8982, allocations: 3.772 MB / 1.173 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006763/0.905, allocations: 1.953 MB / 1.175 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.9181, allocations: 8.293 MB / 1.183 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.922, allocations: 1.96 MB / 1.185 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/0.9282, allocations: 2.356 MB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.932, allocations: 1.866 MB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007791/0.9328, allocations: 116 kB / 1.189 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005098/0.938, allocations: 1.746 MB / 1.191 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.939, allocations: 489.6 kB / 1.191 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/0.942, allocations: 1.325 MB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.9504, allocations: 4.226 MB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9504, allocations: 0 / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9504, allocations: 0 / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001407/0.9506, allocations: 0 / 1.196 GB, free: 10.03 MB / 0.9512 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.008277/0.9588, allocations: 3.168 MB / 1.2 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9589, allocations: 8.031 kB / 1.2 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.964, allocations: 0.8399 MB / 1.2 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.9701, allocations: 2.26 MB / 1.203 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.9712, allocations: 294.8 kB / 1.203 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00052/0.9718, allocations: 160 kB / 1.203 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/0.978, allocations: 1.934 MB / 1.205 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.9781, allocations: 3.938 kB / 1.205 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.9783, allocations: 60 kB / 1.205 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.9784, allocations: 47.94 kB / 1.205 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/0.9839, allocations: 1.819 MB / 1.207 GB, free: 15.21 MB / 0.9669 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.01706/1.001, allocations: 9 MB / 1.216 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/1.006, allocations: 1.198 MB / 1.217 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.007, allocations: 465.4 kB / 1.217 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001669/1.009, allocations: 1.718 MB / 1.219 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/1.009, allocations: 42.56 kB / 1.219 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 4.187e-06/1.009, allocations: 0 / 1.219 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009564/1.018, allocations: 2.325 MB / 1.221 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.018, allocations: 85.11 kB / 1.221 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005431/1.024, allocations: 2.492 MB / 1.224 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/1.024, allocations: 45.7 kB / 1.224 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.025, allocations: 1.038 MB / 1.225 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/1.026, allocations: 276.2 kB / 1.225 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000653/1.027, allocations: 254.5 kB / 1.225 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.027, allocations: 353.9 kB / 1.226 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.029, allocations: 0.5842 MB / 1.226 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002388/1.031, allocations: 0.966 MB / 1.227 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00338/1.035, allocations: 1.271 MB / 1.228 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.035, allocations: 4 kB / 1.228 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007338/1.042, allocations: 2.043 MB / 1.23 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.042, allocations: 14.34 kB / 1.23 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.042, allocations: 8 kB / 1.23 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/1.044, allocations: 421.9 kB / 1.231 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.045, allocations: 291.5 kB / 1.231 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/1.048, allocations: 1.499 MB / 1.232 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.051, allocations: 434 kB / 1.233 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/1.051, allocations: 67.91 kB / 1.233 GB, free: 2.898 MB / 0.9825 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.001163/1.052, allocations: 464.5 kB / 1.233 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000898/1.053, allocations: 248.9 kB / 1.234 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/1.058, allocations: 1.494 MB / 1.235 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.058, allocations: 11.98 kB / 1.235 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.058, allocations: 0 / 1.235 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.058, allocations: 3.984 kB / 1.235 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/1.067, allocations: 3.587 MB / 1.239 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.067, allocations: 4 kB / 1.239 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/1.068, allocations: 132.2 kB / 1.239 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/1.069, allocations: 418 kB / 1.239 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/1.07, allocations: 23.98 kB / 1.239 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/1.072, allocations: 1.574 MB / 1.241 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/1.072, allocations: 8.062 kB / 1.241 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006513/1.079, allocations: 1.927 MB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.081, allocations: 489.5 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/1.083, allocations: 20 kB / 1.243 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003492/1.086, allocations: 171.7 kB / 1.243 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.086, allocations: 67.83 kB / 1.243 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.087, allocations: 39.91 kB / 1.243 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005435/1.092, allocations: 1.75 MB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.092, allocations: 0 / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005051/1.097, allocations: 0.6788 MB / 1.246 GB, free: 5.543 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.00226/1.1, allocations: 0.588 MB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005045/1.105, allocations: 1.354 MB / 1.248 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.105, allocations: 4 kB / 1.248 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.107, allocations: 0.6614 MB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/1.115, allocations: 1.259 MB / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.616/1.731, allocations: 4.283 MB / 1.254 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.733, allocations: 1.491 MB / 1.255 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002853/1.736, allocations: 433.1 kB / 1.256 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.736, allocations: 170.7 kB / 1.256 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.142e-06/1.736, allocations: 0 / 1.256 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08691/1.823, allocations: 48.37 MB / 1.303 GB, free: 196.6 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches