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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 99.89 kB / 0.9318 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.619e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.275, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.424, allocations: 437.9 MB / 1.646 GB, free: 12.52 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.424, allocations: 92.64 kB / 1.647 GB, free: 12.43 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.602/6.026, allocations: 1.306 GB / 2.952 GB, free: 16.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.362e-06/6.026, allocations: 4 kB / 2.952 GB, free: 16.27 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002249/6.026, allocations: 67.97 kB / 2.952 GB, free: 16.2 MB / 1.151 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.005499/6.031, allocations: 2.637 MB / 2.955 GB, free: 13.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/6.032, allocations: 8.031 kB / 2.955 GB, free: 13.48 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/6.032, allocations: 219.8 kB / 2.955 GB, free: 13.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/6.036, allocations: 0.8865 MB / 2.956 GB, free: 12.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/6.041, allocations: 2.577 MB / 2.959 GB, free: 9.707 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008995/6.042, allocations: 319.7 kB / 2.959 GB, free: 9.395 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/6.042, allocations: 163.9 kB / 2.959 GB, free: 9.234 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/6.045, allocations: 1.726 MB / 2.961 GB, free: 7.434 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/6.045, allocations: 0 / 2.961 GB, free: 7.434 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/6.045, allocations: 64 kB / 2.961 GB, free: 7.371 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/6.045, allocations: 67.92 kB / 2.961 GB, free: 7.305 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/6.047, allocations: 1.359 MB / 2.962 GB, free: 5.945 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01225/6.06, allocations: 8.803 MB / 2.971 GB, free: 12.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/6.063, allocations: 1.119 MB / 2.972 GB, free: 11.46 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/6.064, allocations: 373.6 kB / 2.972 GB, free: 11.09 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/6.065, allocations: 1.726 MB / 2.974 GB, free: 8.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/6.065, allocations: 46.5 kB / 2.974 GB, free: 8.926 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 2.725e-06/6.065, allocations: 0 / 2.974 GB, free: 8.926 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.006887/6.072, allocations: 1.683 MB / 2.976 GB, free: 7.223 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/6.072, allocations: 89.09 kB / 2.976 GB, free: 7.117 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/6.076, allocations: 2.077 MB / 2.978 GB, free: 5.023 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002872/6.076, allocations: 45.7 kB / 2.978 GB, free: 4.973 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009732/6.077, allocations: 1.061 MB / 2.979 GB, free: 3.902 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/6.077, allocations: 284 kB / 2.979 GB, free: 3.621 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/6.078, allocations: 16 kB / 2.979 GB, free: 3.605 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001706/6.078, allocations: 341.9 kB / 2.979 GB, free: 3.266 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/6.078, allocations: 357.9 kB / 2.98 GB, free: 2.918 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/6.079, allocations: 0.7772 MB / 2.981 GB, free: 1.961 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007016/6.08, allocations: 423.1 kB / 2.981 GB, free: 1.551 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/6.08, allocations: 4 kB / 2.981 GB, free: 1.547 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004091/6.084, allocations: 1.571 MB / 2.982 GB, free: 15.96 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/6.084, allocations: 13.69 kB / 2.982 GB, free: 15.95 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/6.084, allocations: 8 kB / 2.982 GB, free: 15.94 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/6.087, allocations: 0.7668 MB / 2.983 GB, free: 15.17 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/6.088, allocations: 235.6 kB / 2.983 GB, free: 14.94 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/6.09, allocations: 1.753 MB / 2.985 GB, free: 13.14 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/6.094, allocations: 461.9 kB / 2.986 GB, free: 12.69 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002855/6.094, allocations: 63.89 kB / 2.986 GB, free: 12.62 MB / 1.182 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002951/6.095, allocations: 173.4 kB / 2.986 GB, free: 12.45 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006021/6.095, allocations: 253.1 kB / 2.986 GB, free: 12.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/6.101, allocations: 1.778 MB / 2.988 GB, free: 10.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/6.101, allocations: 11.98 kB / 2.988 GB, free: 10.39 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/6.101, allocations: 0 / 2.988 GB, free: 10.39 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/6.101, allocations: 7.984 kB / 2.988 GB, free: 10.38 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007828/6.109, allocations: 3.446 MB / 2.991 GB, free: 6.824 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/6.109, allocations: 4 kB / 2.991 GB, free: 6.82 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/6.109, allocations: 95.81 kB / 2.991 GB, free: 6.727 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/6.112, allocations: 0.7617 MB / 2.992 GB, free: 5.961 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/6.112, allocations: 27.98 kB / 2.992 GB, free: 5.934 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/6.114, allocations: 1.764 MB / 2.994 GB, free: 4.117 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/6.114, allocations: 4 kB / 2.994 GB, free: 4.113 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/6.119, allocations: 2.027 MB / 2.996 GB, free: 1.902 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/6.12, allocations: 0.517 MB / 2.996 GB, free: 1.363 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/6.121, allocations: 16 kB / 2.996 GB, free: 1.348 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/6.123, allocations: 195.7 kB / 2.996 GB, free: 1.156 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/6.123, allocations: 59.66 kB / 2.997 GB, free: 1.098 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/6.123, allocations: 47.97 kB / 2.997 GB, free: 1.051 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.7497/6.873, allocations: 1.623 MB / 2.998 GB, free: 158.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.81e-07/6.873, allocations: 1.125 kB / 2.998 GB, free: 158.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004098/6.877, allocations: 0.8013 MB / 2.999 GB, free: 158.9 MB / 1.182 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * 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 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.007731/6.885, allocations: 4.516 MB / 3.003 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002948/6.888, allocations: 1.062 MB / 3.004 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/6.888, allocations: 2.328 kB / 3.004 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/6.89, allocations: 0.5963 MB / 3.005 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008094/6.898, allocations: 1.284 MB / 3.006 GB, free: 156.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/6.908, allocations: 3.143 MB / 3.009 GB, free: 155.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/6.909, allocations: 1.533 MB / 3.011 GB, free: 155.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002958/6.912, allocations: 418.9 kB / 3.011 GB, free: 155.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/6.913, allocations: 0.8981 MB / 3.012 GB, free: 155.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.202e-06/6.913, allocations: 2.938 kB / 3.012 GB, free: 155.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1532/7.067, allocations: 81.61 MB / 3.092 GB, free: 152.8 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/7.067, allocations: 226 kB / 3.092 GB, free: 152.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.924/11.99, allocations: 7.844 kB / 3.092 GB, free: 152.6 MB / 1.182 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) 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