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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001197/0.001197, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.237/1.237, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 0.8689 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4651, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05568/0.5208, allocations: 69.92 MB / 1.085 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.54, allocations: 18.79 MB / 1.104 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.5416, allocations: 63.62 kB / 1.104 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.5432, allocations: 0.7035 MB / 1.104 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.5481, allocations: 2.66 MB / 1.107 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.5509, allocations: 1.504 MB / 1.108 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.5544, allocations: 4.076 MB / 1.112 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.5559, allocations: 1.441 MB / 1.114 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.5586, allocations: 1.773 MB / 1.115 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.5598, allocations: 1.218 MB / 1.117 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.56, allocations: 176 kB / 1.117 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.5621, allocations: 1.427 MB / 1.118 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.5624, allocations: 406.5 kB / 1.119 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.563, allocations: 0.9177 MB / 1.12 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00267/0.5657, allocations: 3.097 MB / 1.123 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5657, allocations: 0 / 1.123 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5657, allocations: 4 kB / 1.123 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.5658, allocations: 0 / 1.123 GB, free: 6.16 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.002792/0.5686, allocations: 2.023 MB / 1.125 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5686, allocations: 12.03 kB / 1.125 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.5688, allocations: 156.6 kB / 1.125 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.5709, allocations: 450.2 kB / 1.125 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.573, allocations: 1.504 MB / 1.127 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003468/0.5734, allocations: 138 kB / 1.127 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.5735, allocations: 100 kB / 1.127 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.5757, allocations: 1.301 MB / 1.128 GB, free: 276 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5758, allocations: 7.938 kB / 1.128 GB, free: 268 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5759, allocations: 48 kB / 1.128 GB, free: 220 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.5759, allocations: 24 kB / 1.128 GB, free: 196 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.5783, allocations: 1.105 MB / 1.129 GB, free: 15.09 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.006969/0.5853, allocations: 7.133 MB / 1.136 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/0.5884, allocations: 0.8048 MB / 1.137 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.5889, allocations: 289.9 kB / 1.137 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.59, allocations: 1.718 MB / 1.139 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.59, allocations: 50.92 kB / 1.139 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/0.59, allocations: 0 / 1.139 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004383/0.5944, allocations: 1.327 MB / 1.14 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.5944, allocations: 59.78 kB / 1.14 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5963, allocations: 1.525 MB / 1.142 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.5964, allocations: 37.7 kB / 1.142 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.5969, allocations: 0.6653 MB / 1.143 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.597, allocations: 173.6 kB / 1.143 GB, free: 356 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.5973, allocations: 162.5 kB / 1.143 GB, free: 188 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5974, allocations: 337.9 kB / 1.143 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.5983, allocations: 357.8 kB / 1.143 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.5994, allocations: 0.6315 MB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.601, allocations: 0.8522 MB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.601, allocations: 4 kB / 1.145 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003942/0.605, allocations: 1.333 MB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.605, allocations: 10.19 kB / 1.146 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.605, allocations: 8 kB / 1.146 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000779/0.6058, allocations: 217.3 kB / 1.146 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/0.6065, allocations: 183.7 kB / 1.147 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007491/0.6073, allocations: 0.7239 MB / 1.147 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.6087, allocations: 238.7 kB / 1.148 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.6088, allocations: 39.98 kB / 1.148 GB, free: 11.02 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.0004114/0.6092, allocations: 353.6 kB / 1.148 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.6094, allocations: 146.2 kB / 1.148 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.6116, allocations: 1.148 MB / 1.149 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6116, allocations: 11.98 kB / 1.149 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6116, allocations: 3.938 kB / 1.149 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6116, allocations: 3.984 kB / 1.149 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.6162, allocations: 2.502 MB / 1.152 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6162, allocations: 0 / 1.152 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.6166, allocations: 87.81 kB / 1.152 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006757/0.6172, allocations: 212.8 kB / 1.152 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.6173, allocations: 19.98 kB / 1.152 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.6185, allocations: 0.7708 MB / 1.153 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6185, allocations: 3.938 kB / 1.153 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.6216, allocations: 1.199 MB / 1.154 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.622, allocations: 347 kB / 1.154 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.6221, allocations: 19.91 kB / 1.154 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.6231, allocations: 87.84 kB / 1.154 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.6231, allocations: 48.44 kB / 1.154 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.6232, allocations: 23.98 kB / 1.154 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001457/0.6247, allocations: 1.074 MB / 1.155 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6247, allocations: 0 / 1.155 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001015/0.6257, allocations: 435.4 kB / 1.156 GB, free: 2.355 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.004023/0.6297, allocations: 2.118 MB / 1.158 GB, free: 196 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.6318, allocations: 0.8678 MB / 1.159 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6318, allocations: 0 / 1.159 GB, free: 15.33 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.633, allocations: 447.5 kB / 1.159 GB, free: 14.89 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.6357, allocations: 0.7439 MB / 1.16 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/0.6593, allocations: 11.66 MB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.66, allocations: 1.172 MB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009775/0.661, allocations: 271.9 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006661/0.6616, allocations: 0.55 MB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.6616, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.089/3.751, allocations: 42.77 MB / 1.215 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/3.751, allocations: 280.3 kB / 1.215 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/7.409, allocations: 0 / 1.215 GB, free: 5.324 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