Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001253/0.001253, allocations: 196 kB / 16.14 MB, free: 6.711 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.154/1.154, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4791, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05968/0.5388, allocations: 70.11 MB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.5592, allocations: 19.01 MB / 1.104 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.5611, allocations: 63.62 kB / 1.104 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.5627, allocations: 0.6449 MB / 1.104 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.5685, allocations: 2.621 MB / 1.107 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.5717, allocations: 1.486 MB / 1.108 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.5765, allocations: 5.025 MB / 1.113 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.5782, allocations: 1.179 MB / 1.114 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.5808, allocations: 1.501 MB / 1.116 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.5825, allocations: 1.159 MB / 1.117 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.5827, allocations: 76 kB / 1.117 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.5852, allocations: 1.243 MB / 1.118 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.5855, allocations: 290.6 kB / 1.119 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009127/0.5865, allocations: 0.82 MB / 1.119 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.5897, allocations: 3.027 MB / 1.122 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5897, allocations: 0 / 1.122 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.42e-07/0.5897, allocations: 4 kB / 1.122 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.346e-05/0.5898, allocations: 0 / 1.122 GB, free: 6.25 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003498/0.5933, allocations: 2.027 MB / 1.124 GB, free: 4.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5933, allocations: 8.031 kB / 1.124 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.5935, allocations: 156.6 kB / 1.125 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/0.5957, allocations: 446.2 kB / 1.125 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.5981, allocations: 1.508 MB / 1.126 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/0.5984, allocations: 133.9 kB / 1.127 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.5986, allocations: 104 kB / 1.127 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.6009, allocations: 1.293 MB / 1.128 GB, free: 376 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.601, allocations: 7.938 kB / 1.128 GB, free: 368 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6011, allocations: 40 kB / 1.128 GB, free: 328 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6011, allocations: 28 kB / 1.128 GB, free: 300 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.6037, allocations: 1.112 MB / 1.129 GB, free: 15.18 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.007519/0.6112, allocations: 7.125 MB / 1.136 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.6143, allocations: 0.8017 MB / 1.137 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/0.6149, allocations: 290 kB / 1.137 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.6161, allocations: 1.718 MB / 1.139 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.6162, allocations: 42.94 kB / 1.139 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.6162, allocations: 0 / 1.139 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004531/0.6207, allocations: 1.334 MB / 1.14 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6208, allocations: 63.83 kB / 1.14 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.6228, allocations: 1.521 MB / 1.142 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.6229, allocations: 37.7 kB / 1.142 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/0.6234, allocations: 0.6575 MB / 1.142 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.6235, allocations: 177.5 kB / 1.143 GB, free: 460 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.6238, allocations: 166.4 kB / 1.143 GB, free: 288 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6239, allocations: 337.9 kB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000985/0.6249, allocations: 357.8 kB / 1.143 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.6261, allocations: 0.6354 MB / 1.144 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.6278, allocations: 0.8444 MB / 1.145 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6278, allocations: 4 kB / 1.145 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004066/0.6319, allocations: 1.341 MB / 1.146 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.632, allocations: 8.781 kB / 1.146 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.632, allocations: 8 kB / 1.146 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.6328, allocations: 216.9 kB / 1.146 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.6335, allocations: 183.7 kB / 1.147 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007775/0.6343, allocations: 0.7162 MB / 1.147 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6358, allocations: 234.7 kB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/0.6359, allocations: 39.98 kB / 1.147 GB, free: 11.12 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005079/0.6364, allocations: 361.5 kB / 1.148 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.6367, allocations: 150.2 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.639, allocations: 1.133 MB / 1.149 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.639, allocations: 12 kB / 1.149 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.639, allocations: 3.938 kB / 1.149 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.639, allocations: 3.984 kB / 1.149 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004826/0.6439, allocations: 2.502 MB / 1.152 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.6439, allocations: 3.984 kB / 1.152 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/0.6442, allocations: 87.83 kB / 1.152 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/0.645, allocations: 216.7 kB / 1.152 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.645, allocations: 19.98 kB / 1.152 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.6462, allocations: 0.7748 MB / 1.153 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6462, allocations: 4.031 kB / 1.153 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.6493, allocations: 1.199 MB / 1.154 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/0.6498, allocations: 346.9 kB / 1.154 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.65, allocations: 15.98 kB / 1.154 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/0.651, allocations: 87.84 kB / 1.154 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.6511, allocations: 60.31 kB / 1.154 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.6511, allocations: 23.98 kB / 1.154 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001565/0.6527, allocations: 1.07 MB / 1.155 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6527, allocations: 0 / 1.155 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001109/0.6538, allocations: 435.4 kB / 1.156 GB, free: 2.449 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004214/0.658, allocations: 2.109 MB / 1.158 GB, free: 312 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.66, allocations: 0.8405 MB / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.66, allocations: 0 / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.6613, allocations: 451.4 kB / 1.159 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.6641, allocations: 0.6902 MB / 1.16 GB, free: 14.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/0.6891, allocations: 11.66 MB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.6899, allocations: 1.176 MB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001091/0.691, allocations: 264 kB / 1.173 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000731/0.6918, allocations: 0.5539 MB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of SimCode: time 5.11e-07/0.6918, allocations: 0 / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.253/5.945, allocations: 41.69 MB / 1.214 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/5.945, allocations: 279.4 kB / 1.214 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/8.592, allocations: 3.938 kB / 1.214 GB, free: 6.539 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches