Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.0008632/0.0008632, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000879/0.000879, allocations: 172.7 kB / 15.95 MB, free: 208 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.368/1.368, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004921, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.785, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1094/0.8944, allocations: 122.2 MB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02925/0.9237, allocations: 21.78 MB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004138/0.9279, allocations: 103.3 kB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.9314, allocations: 1.001 MB / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009402/0.9409, allocations: 3.166 MB / 1.099 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.9455, allocations: 1.513 MB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009318/0.9548, allocations: 7.19 MB / 1.107 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.9583, allocations: 1.678 MB / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.9629, allocations: 2.154 MB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.9661, allocations: 1.684 MB / 1.113 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.9665, allocations: 92 kB / 1.113 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.9701, allocations: 1.216 MB / 1.114 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004793/0.9706, allocations: 413.9 kB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009989/0.9716, allocations: 0.5511 MB / 1.115 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.9757, allocations: 3.133 MB / 1.118 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9757, allocations: 0 / 1.118 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.657e-06/0.9758, allocations: 8 kB / 1.118 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.102e-05/0.9758, allocations: 0 / 1.118 GB, free: 7.797 MB / 0.8731 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.005086/0.9809, allocations: 2.703 MB / 1.12 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.981, allocations: 15.97 kB / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002747/0.9813, allocations: 215.8 kB / 1.121 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.9852, allocations: 0.9606 MB / 1.122 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.9895, allocations: 2.211 MB / 1.124 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008317/0.9903, allocations: 314.9 kB / 1.124 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.9905, allocations: 164 kB / 1.124 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003809/0.9944, allocations: 1.966 MB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.9944, allocations: 7.922 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.9945, allocations: 64 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.9946, allocations: 36 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/0.999, allocations: 1.889 MB / 1.128 GB, free: 13.03 MB / 0.8887 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.01293/1.012, allocations: 9.074 MB / 1.137 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/1.016, allocations: 1.29 MB / 1.138 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/1.017, allocations: 493.3 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.018, allocations: 1.722 MB / 1.14 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.018, allocations: 42.56 kB / 1.14 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/1.018, allocations: 0 / 1.14 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.007977/1.026, allocations: 2.492 MB / 1.143 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.026, allocations: 85.11 kB / 1.143 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/1.03, allocations: 2.492 MB / 1.145 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001335/1.03, allocations: 45.7 kB / 1.145 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008978/1.031, allocations: 1.045 MB / 1.146 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/1.031, allocations: 272.1 kB / 1.147 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/1.032, allocations: 24 kB / 1.147 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.032, allocations: 353.9 kB / 1.147 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.033, allocations: 0.6272 MB / 1.148 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/1.035, allocations: 1.005 MB / 1.149 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/1.037, allocations: 0.6895 MB / 1.149 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.037, allocations: 4 kB / 1.149 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004799/1.042, allocations: 1.954 MB / 1.151 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.042, allocations: 8 kB / 1.151 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.042, allocations: 11.94 kB / 1.151 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.043, allocations: 452.9 kB / 1.152 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.045, allocations: 307.6 kB / 1.152 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/1.047, allocations: 1.538 MB / 1.153 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/1.049, allocations: 484.1 kB / 1.154 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.049, allocations: 63.97 kB / 1.154 GB, free: 1.152 MB / 0.9044 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.0007929/1.05, allocations: 461.4 kB / 1.154 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.051, allocations: 248.9 kB / 1.155 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/1.054, allocations: 1.541 MB / 1.156 GB, free: 14.89 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/1.054, allocations: 11.98 kB / 1.156 GB, free: 14.88 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.054, allocations: 3.953 kB / 1.156 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.054, allocations: 3.984 kB / 1.156 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/1.061, allocations: 3.681 MB / 1.16 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.061, allocations: 4 kB / 1.16 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/1.062, allocations: 136.2 kB / 1.16 GB, free: 10.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/1.063, allocations: 443.1 kB / 1.16 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/1.063, allocations: 23.98 kB / 1.16 GB, free: 10.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.065, allocations: 1.635 MB / 1.162 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.065, allocations: 4 kB / 1.162 GB, free: 8.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/1.071, allocations: 2.077 MB / 1.164 GB, free: 6.637 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000914/1.072, allocations: 0.517 MB / 1.164 GB, free: 6.098 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/1.072, allocations: 16 kB / 1.164 GB, free: 6.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.074, allocations: 187.8 kB / 1.165 GB, free: 5.898 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/1.074, allocations: 59.89 kB / 1.165 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/1.074, allocations: 43.95 kB / 1.165 GB, free: 5.797 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002761/1.077, allocations: 1.746 MB / 1.166 GB, free: 4.047 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.31e-07/1.077, allocations: 7.938 kB / 1.166 GB, free: 4.039 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001745/1.078, allocations: 0.6749 MB / 1.167 GB, free: 3.363 MB / 0.92 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.006775/1.085, allocations: 3.088 MB / 1.17 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003831/1.089, allocations: 1.432 MB / 1.172 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.089, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.091, allocations: 0.7158 MB / 1.172 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/1.097, allocations: 1.272 MB / 1.173 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03846/1.135, allocations: 14.98 MB / 1.188 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/1.136, allocations: 1.482 MB / 1.19 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002318/1.139, allocations: 432.5 kB / 1.19 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.14, allocations: 0.8976 MB / 1.191 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/1.14, allocations: 0 / 1.191 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6101/1.75, allocations: 68.37 MB / 1.258 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/1.75, allocations: 262.5 kB / 1.258 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/5.301, allocations: 0 / 1.258 GB, free: 274.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat does not exist to compare? outputFormat=mat