Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_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.000992/0.000992, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007781/0.007781, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 462.6 MB / 0.7364 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 13.97 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05873/0.3102, allocations: 68.88 MB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.331, allocations: 18.77 MB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.3327, allocations: 59.62 kB / 1.144 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3344, allocations: 0.6566 MB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005993/0.3404, allocations: 2.614 MB / 1.148 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.3436, allocations: 1.481 MB / 1.149 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005088/0.3487, allocations: 5.017 MB / 1.154 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.3502, allocations: 1.156 MB / 1.155 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002578/0.3528, allocations: 1.443 MB / 1.156 GB, free: 412 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.3542, allocations: 1.116 MB / 1.158 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.3543, allocations: 56 kB / 1.158 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.3566, allocations: 1.224 MB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.3569, allocations: 266.6 kB / 1.159 GB, free: 13.74 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/0.3576, allocations: 0.7944 MB / 1.16 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3605, allocations: 2.956 MB / 1.163 GB, free: 9.969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3605, allocations: 0 / 1.163 GB, free: 9.969 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.745e-06/0.3605, allocations: 0 / 1.163 GB, free: 9.969 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.3605, allocations: 3.938 kB / 1.163 GB, free: 9.965 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.002798/0.3633, allocations: 1.707 MB / 1.164 GB, free: 8.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3634, allocations: 11.97 kB / 1.164 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.3635, allocations: 156.6 kB / 1.165 GB, free: 8.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.3658, allocations: 0.4983 MB / 1.165 GB, free: 7.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.3681, allocations: 1.512 MB / 1.167 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.3685, allocations: 146 kB / 1.167 GB, free: 5.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3687, allocations: 108 kB / 1.167 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.3712, allocations: 1.313 MB / 1.168 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.3712, allocations: 11.94 kB / 1.168 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.3713, allocations: 40 kB / 1.168 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.3713, allocations: 28 kB / 1.168 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.374, allocations: 1.163 MB / 1.169 GB, free: 3.055 MB / 0.92 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.007779/0.3818, allocations: 7.184 MB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00328/0.3851, allocations: 0.8883 MB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.3857, allocations: 302 kB / 1.177 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.3869, allocations: 1.722 MB / 1.179 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.387, allocations: 42.94 kB / 1.179 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.387, allocations: 4 kB / 1.179 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48): time 0.004855/0.3918, allocations: 1.444 MB / 1.181 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3919, allocations: 59.84 kB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.3947, allocations: 1.537 MB / 1.182 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3948, allocations: 41.64 kB / 1.182 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.3954, allocations: 0.6575 MB / 1.183 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.3956, allocations: 169.6 kB / 1.183 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3957, allocations: 61.69 kB / 1.183 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3959, allocations: 333.9 kB / 1.183 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3969, allocations: 397.7 kB / 1.184 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.3982, allocations: 0.6627 MB / 1.184 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.4, allocations: 0.8952 MB / 1.185 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4001, allocations: 4 kB / 1.185 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004646/0.4047, allocations: 1.435 MB / 1.187 GB, free: 48 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4048, allocations: 12.12 kB / 1.187 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4048, allocations: 8 kB / 1.187 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008956/0.4057, allocations: 228.6 kB / 1.187 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007624/0.4064, allocations: 195.7 kB / 1.187 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008544/0.4073, allocations: 0.7318 MB / 1.188 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.409, allocations: 258.7 kB / 1.188 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.4091, allocations: 39.98 kB / 1.188 GB, free: 14.56 MB / 0.9512 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.0006029/0.4097, allocations: 365.5 kB / 1.188 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.4099, allocations: 146.2 kB / 1.189 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.4124, allocations: 1.177 MB / 1.19 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.4124, allocations: 4 kB / 1.19 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4124, allocations: 7.938 kB / 1.19 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4124, allocations: 3.984 kB / 1.19 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.4175, allocations: 2.588 MB / 1.192 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.4175, allocations: 3.984 kB / 1.192 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.4179, allocations: 92.02 kB / 1.192 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.4187, allocations: 228.6 kB / 1.193 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.4188, allocations: 19.98 kB / 1.193 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.4201, allocations: 0.8021 MB / 1.193 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4202, allocations: 0 / 1.193 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.4237, allocations: 1.293 MB / 1.195 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.4244, allocations: 370.8 kB / 1.195 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.4246, allocations: 12 kB / 1.195 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009951/0.4256, allocations: 107.8 kB / 1.195 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.4257, allocations: 48.39 kB / 1.195 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.4258, allocations: 23.98 kB / 1.195 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001716/0.4275, allocations: 1.086 MB / 1.196 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4275, allocations: 7.938 kB / 1.196 GB, free: 6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001232/0.4287, allocations: 435.4 kB / 1.197 GB, free: 5.574 MB / 0.9512 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.00441/0.4332, allocations: 2.194 MB / 1.199 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.4353, allocations: 0.8797 MB / 1.2 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4353, allocations: 0 / 1.2 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4366, allocations: 471.5 kB / 1.2 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/0.4402, allocations: 0.7128 MB / 1.201 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/0.4659, allocations: 11.84 MB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.4666, allocations: 1.172 MB / 1.214 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001087/0.4677, allocations: 267.9 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/0.4684, allocations: 0.5539 MB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/0.4684, allocations: 0 / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/1.508, allocations: 42.19 MB / 1.256 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/1.508, allocations: 294.7 kB / 1.256 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/4.357, allocations: 0 / 1.256 GB, free: 179.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches