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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001498/0.001498, allocations: 168.7 kB / 15.95 MB, free: 204 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.438/1.438, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004187, allocations: 19.92 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7874, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1193/0.9067, allocations: 122.2 MB / 1.1 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03408/0.9408, allocations: 21.78 MB / 1.122 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/0.9458, allocations: 107.3 kB / 1.122 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00419/0.9501, allocations: 1.001 MB / 1.123 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.9616, allocations: 3.158 MB / 1.126 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.9674, allocations: 1.52 MB / 1.127 GB, free: 152 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.9783, allocations: 7.183 MB / 1.134 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004328/0.9826, allocations: 1.67 MB / 1.136 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/0.9893, allocations: 2.15 MB / 1.138 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004213/0.9935, allocations: 1.676 MB / 1.14 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009143/0.9945, allocations: 88 kB / 1.14 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.9996, allocations: 1.212 MB / 1.141 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/1.001, allocations: 417.9 kB / 1.141 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/1.002, allocations: 0.5511 MB / 1.142 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/1.008, allocations: 3.137 MB / 1.145 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.008, allocations: 4 kB / 1.145 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.735e-06/1.008, allocations: 0 / 1.145 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001465/1.008, allocations: 0 / 1.145 GB, free: 13.97 MB / 0.9044 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.006312/1.014, allocations: 2.697 MB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.014, allocations: 8.562 kB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005786/1.015, allocations: 219.8 kB / 1.148 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/1.019, allocations: 0.9528 MB / 1.149 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005628/1.025, allocations: 2.201 MB / 1.151 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009208/1.026, allocations: 318.8 kB / 1.151 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004595/1.026, allocations: 164 kB / 1.151 GB, free: 7.254 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005185/1.032, allocations: 1.965 MB / 1.153 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/1.032, allocations: 7.938 kB / 1.153 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/1.032, allocations: 64 kB / 1.153 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/1.032, allocations: 39.95 kB / 1.153 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005016/1.037, allocations: 1.885 MB / 1.155 GB, free: 3.227 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.01775/1.055, allocations: 9.075 MB / 1.164 GB, free: 9.551 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004157/1.059, allocations: 1.298 MB / 1.165 GB, free: 8.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/1.06, allocations: 485.2 kB / 1.166 GB, free: 7.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.061, allocations: 1.726 MB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.061, allocations: 42.56 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.061, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008207/1.07, allocations: 2.485 MB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.07, allocations: 89.11 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/1.075, allocations: 2.489 MB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.075, allocations: 45.7 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.076, allocations: 1.042 MB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/1.076, allocations: 268.2 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.076, allocations: 20 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.077, allocations: 345.9 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/1.078, allocations: 0.6271 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/1.08, allocations: 1.01 MB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.082, allocations: 0.678 MB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.082, allocations: 4 kB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005214/1.087, allocations: 1.958 MB / 1.178 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/1.087, allocations: 8 kB / 1.178 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.087, allocations: 8 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/1.089, allocations: 433.8 kB / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.09, allocations: 311.6 kB / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.092, allocations: 1.552 MB / 1.181 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/1.095, allocations: 477.9 kB / 1.181 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.096, allocations: 63.95 kB / 1.181 GB, free: 7.387 MB / 0.9356 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.001137/1.097, allocations: 465.4 kB / 1.182 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006812/1.098, allocations: 244.9 kB / 1.182 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/1.101, allocations: 1.545 MB / 1.183 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/1.102, allocations: 23.98 kB / 1.183 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.102, allocations: 3.984 kB / 1.183 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.102, allocations: 3.984 kB / 1.183 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008708/1.11, allocations: 3.673 MB / 1.187 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.11, allocations: 4 kB / 1.187 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/1.111, allocations: 143.9 kB / 1.187 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/1.112, allocations: 433.2 kB / 1.188 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/1.112, allocations: 23.98 kB / 1.188 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/1.115, allocations: 1.631 MB / 1.189 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/1.115, allocations: 4 kB / 1.189 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005951/1.121, allocations: 2.08 MB / 1.191 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.123, allocations: 0.5014 MB / 1.192 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007697/1.123, allocations: 23.98 kB / 1.192 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.125, allocations: 187.8 kB / 1.192 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.126, allocations: 63.88 kB / 1.192 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.126, allocations: 43.97 kB / 1.192 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004052/1.13, allocations: 1.738 MB / 1.194 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/1.13, allocations: 3.938 kB / 1.194 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002674/1.132, allocations: 0.6788 MB / 1.194 GB, free: 9.602 MB / 0.9512 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.007238/1.14, allocations: 3.1 MB / 1.197 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004129/1.144, allocations: 1.428 MB / 1.199 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.144, allocations: 0 / 1.199 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/1.146, allocations: 0.7152 MB / 1.199 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006835/1.153, allocations: 1.272 MB / 1.201 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/1.191, allocations: 14.97 MB / 1.215 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.192, allocations: 1.49 MB / 1.217 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002887/1.195, allocations: 432.5 kB / 1.217 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/1.197, allocations: 0.8977 MB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of SimCode: time 1.543e-06/1.197, allocations: 0 / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.657/1.854, allocations: 68.29 MB / 1.285 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/1.854, allocations: 264.3 kB / 1.285 GB, free: 237 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/5.701, allocations: 0 / 1.285 GB, free: 237 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat does not exist to compare? outputFormat=mat