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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001297/0.001297, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001528/0.001528, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 15.98 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.798, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1367/0.9347, allocations: 110.7 MB / 1.129 GB, free: 2.215 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02952/0.9643, allocations: 19.94 MB / 1.148 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00618/0.9705, allocations: 103.2 kB / 1.148 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006602/0.9771, allocations: 1.368 MB / 1.15 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01976/0.997, allocations: 4.186 MB / 1.154 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008871/1.006, allocations: 2.578 MB / 1.156 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009967/1.016, allocations: 3.921 MB / 1.16 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/1.019, allocations: 1.712 MB / 1.162 GB, free: 376 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/1.025, allocations: 2.012 MB / 1.164 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/1.028, allocations: 1.24 MB / 1.165 GB, free: 13.1 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004087/1.028, allocations: 92 kB / 1.165 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/1.032, allocations: 1.338 MB / 1.166 GB, free: 11.67 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006769/1.033, allocations: 402.2 kB / 1.167 GB, free: 11.28 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/1.034, allocations: 0.555 MB / 1.167 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004925/1.039, allocations: 3.111 MB / 1.17 GB, free: 7.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.039, allocations: 0 / 1.17 GB, free: 7.598 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.073e-06/1.039, allocations: 0 / 1.17 GB, free: 7.598 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.864e-05/1.039, allocations: 0 / 1.17 GB, free: 7.598 MB / 0.92 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.005971/1.045, allocations: 2.686 MB / 1.173 GB, free: 4.828 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.641e-05/1.045, allocations: 11.98 kB / 1.173 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/1.051, allocations: 0.9528 MB / 1.174 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005032/1.056, allocations: 2.079 MB / 1.176 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.057, allocations: 322.9 kB / 1.176 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003791/1.057, allocations: 160 kB / 1.176 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/1.061, allocations: 1.962 MB / 1.178 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/1.062, allocations: 3.938 kB / 1.178 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/1.062, allocations: 67.94 kB / 1.178 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/1.062, allocations: 40 kB / 1.179 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/1.067, allocations: 1.889 MB / 1.18 GB, free: 13.21 MB / 0.9356 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.01471/1.081, allocations: 9.16 MB / 1.189 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/1.086, allocations: 1.322 MB / 1.191 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.087, allocations: 1.715 MB / 1.192 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.087, allocations: 46.59 kB / 1.192 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/1.087, allocations: 0 / 1.192 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.008944/1.096, allocations: 2.491 MB / 1.195 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/1.097, allocations: 89.05 kB / 1.195 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/1.1, allocations: 2.539 MB / 1.197 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.101, allocations: 45.7 kB / 1.197 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000859/1.102, allocations: 1.046 MB / 1.198 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/1.102, allocations: 268.2 kB / 1.199 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/1.102, allocations: 20 kB / 1.199 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.102, allocations: 341.9 kB / 1.199 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/1.104, allocations: 0.6232 MB / 1.2 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/1.106, allocations: 1.001 MB / 1.201 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/1.108, allocations: 0.6933 MB / 1.201 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.108, allocations: 0 / 1.201 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005247/1.113, allocations: 1.967 MB / 1.203 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.113, allocations: 8 kB / 1.203 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.113, allocations: 8 kB / 1.203 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001722/1.115, allocations: 437.2 kB / 1.204 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.116, allocations: 303.6 kB / 1.204 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/1.118, allocations: 1.547 MB / 1.205 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003207/1.122, allocations: 477.8 kB / 1.206 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/1.122, allocations: 63.97 kB / 1.206 GB, free: 1.684 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009083/1.123, allocations: 469.4 kB / 1.206 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004119/1.123, allocations: 245 kB / 1.207 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/1.127, allocations: 1.552 MB / 1.208 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.127, allocations: 8 kB / 1.208 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.127, allocations: 3.938 kB / 1.208 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.127, allocations: 11.97 kB / 1.208 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/1.135, allocations: 3.704 MB / 1.212 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.135, allocations: 0 / 1.212 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/1.136, allocations: 144.1 kB / 1.212 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/1.137, allocations: 433.2 kB / 1.212 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/1.137, allocations: 35.97 kB / 1.212 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/1.14, allocations: 1.624 MB / 1.214 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.14, allocations: 7.953 kB / 1.214 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/1.147, allocations: 2.339 MB / 1.216 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.148, allocations: 0.5248 MB / 1.217 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/1.149, allocations: 27.94 kB / 1.217 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/1.15, allocations: 195.7 kB / 1.217 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/1.15, allocations: 43.94 kB / 1.217 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/1.151, allocations: 47.95 kB / 1.217 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003076/1.154, allocations: 1.781 MB / 1.219 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/1.154, allocations: 4 kB / 1.219 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002049/1.156, allocations: 0.6944 MB / 1.219 GB, free: 3.414 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/1.157, allocations: 0.6179 MB / 1.22 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004249/1.161, allocations: 1.428 MB / 1.221 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.161, allocations: 4.188 kB / 1.221 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002416/1.164, allocations: 0.7264 MB / 1.222 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006167/1.17, allocations: 1.25 MB / 1.223 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/1.177, allocations: 4.17 MB / 1.227 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.178, allocations: 1.533 MB / 1.229 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002187/1.18, allocations: 440.5 kB / 1.229 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.181, allocations: 167.4 kB / 1.23 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of SimCode: time 1.593e-06/1.181, allocations: 0 / 1.23 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.636/1.817, allocations: 47.58 MB / 1.276 GB, free: 213.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","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches