Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_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.001645/0.001645, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.511/2.511, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 65.48 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0755/0.3269, allocations: 70.5 MB / 1.133 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.3479, allocations: 18.91 MB / 1.151 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.3491, allocations: 71.56 kB / 1.151 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.3508, allocations: 0.8268 MB / 1.152 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.3557, allocations: 2.851 MB / 1.155 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.3596, allocations: 1.644 MB / 1.157 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005493/0.3651, allocations: 4.032 MB / 1.161 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.3675, allocations: 1.453 MB / 1.162 GB, free: 9.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.3705, allocations: 1.77 MB / 1.164 GB, free: 7.797 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3718, allocations: 1.171 MB / 1.165 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.372, allocations: 176 kB / 1.165 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3742, allocations: 1.416 MB / 1.166 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.3745, allocations: 386.6 kB / 1.167 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007639/0.3753, allocations: 0.9176 MB / 1.168 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.3782, allocations: 3.073 MB / 1.171 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3782, allocations: 4 kB / 1.171 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.866e-06/0.3782, allocations: 3.984 kB / 1.171 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.3783, allocations: 0 / 1.171 GB, free: 0.6406 MB / 0.92 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.002873/0.3811, allocations: 2.031 MB / 1.173 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3812, allocations: 8.031 kB / 1.173 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.3813, allocations: 152.6 kB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.3834, allocations: 454.1 kB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.3855, allocations: 1.486 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.3858, allocations: 138 kB / 1.175 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.386, allocations: 100 kB / 1.175 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.3882, allocations: 1.321 MB / 1.176 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.3882, allocations: 7.938 kB / 1.176 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/0.3883, allocations: 44 kB / 1.176 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3884, allocations: 24 kB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/0.3909, allocations: 1.108 MB / 1.177 GB, free: 9.543 MB / 0.9356 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.01066/0.4015, allocations: 7.556 MB / 1.185 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/0.4057, allocations: 0.8018 MB / 1.186 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.4063, allocations: 282 kB / 1.186 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.4075, allocations: 1.726 MB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4076, allocations: 42.94 kB / 1.188 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.4076, allocations: 0 / 1.188 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004352/0.4119, allocations: 1.327 MB / 1.189 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.412, allocations: 63.84 kB / 1.189 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.414, allocations: 1.553 MB / 1.19 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.4141, allocations: 41.7 kB / 1.19 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.4146, allocations: 0.6652 MB / 1.191 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.4148, allocations: 173.6 kB / 1.191 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/0.415, allocations: 174.4 kB / 1.191 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4152, allocations: 337.9 kB / 1.192 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009411/0.4161, allocations: 373.8 kB / 1.192 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.4173, allocations: 0.6624 MB / 1.193 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.4191, allocations: 0.8906 MB / 1.194 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4191, allocations: 4 kB / 1.194 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002684/0.4218, allocations: 1.193 MB / 1.195 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4218, allocations: 11.98 kB / 1.195 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4218, allocations: 8 kB / 1.195 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.4226, allocations: 224.6 kB / 1.195 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.4233, allocations: 191.7 kB / 1.195 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/0.4241, allocations: 0.7278 MB / 1.196 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.4253, allocations: 222.7 kB / 1.196 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.4254, allocations: 43.97 kB / 1.196 GB, free: 5.027 MB / 0.9512 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 (84): * Single equations (assignments): 83 * 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.0004297/0.4258, allocations: 361.5 kB / 1.197 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.4261, allocations: 146.2 kB / 1.197 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/0.4283, allocations: 1.145 MB / 1.198 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.4283, allocations: 11.98 kB / 1.198 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4283, allocations: 0 / 1.198 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4283, allocations: 0 / 1.198 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007062/0.4354, allocations: 2.51 MB / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.4354, allocations: 0 / 1.2 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.4359, allocations: 91.81 kB / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.437, allocations: 212.8 kB / 1.201 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.4371, allocations: 16 kB / 1.201 GB, free: 436 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.4389, allocations: 0.7786 MB / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.439, allocations: 0 / 1.201 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.4427, allocations: 1.199 MB / 1.203 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/0.4432, allocations: 354.8 kB / 1.203 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.4433, allocations: 12 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008095/0.4441, allocations: 75.91 kB / 1.203 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.4442, allocations: 40.45 kB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.4443, allocations: 23.98 kB / 1.203 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001549/0.4458, allocations: 1.094 MB / 1.204 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4459, allocations: 4 kB / 1.204 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009905/0.4468, allocations: 447.4 kB / 1.204 GB, free: 12.34 MB / 0.9669 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.004115/0.451, allocations: 2.127 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002089/0.4531, allocations: 0.88 MB / 1.207 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4531, allocations: 8.125 kB / 1.207 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.4543, allocations: 439.3 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.457, allocations: 0.7444 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.4775, allocations: 11.41 MB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.4782, allocations: 1.164 MB / 1.221 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008366/0.4791, allocations: 270.5 kB / 1.221 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.4798, allocations: 0.5499 MB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4798, allocations: 0 / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9715/1.451, allocations: 43.42 MB / 1.264 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.5, allocations: 10.22 kB / 1.264 GB, free: 168.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches