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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001711/0.001711, allocations: 108 kB / 15.6 MB, free: 132 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.002049/0.002049, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.742 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.64 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2541, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06569/0.3198, allocations: 70.51 MB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.343, allocations: 18.92 MB / 1.151 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.3451, allocations: 67.62 kB / 1.151 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.3473, allocations: 0.819 MB / 1.152 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006903/0.3542, allocations: 2.854 MB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.358, allocations: 1.649 MB / 1.156 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004696/0.3627, allocations: 4.033 MB / 1.16 GB, free: 11.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.3648, allocations: 1.457 MB / 1.162 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.3684, allocations: 1.752 MB / 1.163 GB, free: 8.094 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.3704, allocations: 1.182 MB / 1.164 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004591/0.3709, allocations: 176 kB / 1.165 GB, free: 6.734 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.374, allocations: 1.408 MB / 1.166 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.3745, allocations: 394.6 kB / 1.166 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.3758, allocations: 0.9138 MB / 1.167 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.3799, allocations: 3.077 MB / 1.17 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3799, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3799, allocations: 0 / 1.17 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.635e-05/0.38, allocations: 0 / 1.17 GB, free: 0.9336 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.003871/0.3839, allocations: 2.031 MB / 1.172 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3839, allocations: 8.031 kB / 1.172 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/0.3841, allocations: 156.5 kB / 1.172 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.3865, allocations: 454.1 kB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.3891, allocations: 1.481 MB / 1.174 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/0.3895, allocations: 138 kB / 1.174 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3897, allocations: 104 kB / 1.175 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3922, allocations: 1.325 MB / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3923, allocations: 3.938 kB / 1.176 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.3924, allocations: 44 kB / 1.176 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3924, allocations: 24 kB / 1.176 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.3952, allocations: 1.112 MB / 1.177 GB, free: 9.836 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.00809/0.4033, allocations: 7.558 MB / 1.184 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003327/0.4066, allocations: 0.7912 MB / 1.185 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/0.4073, allocations: 289.9 kB / 1.185 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.4084, allocations: 1.718 MB / 1.187 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4085, allocations: 46.88 kB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.4085, allocations: 4 kB / 1.187 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004937/0.4134, allocations: 1.334 MB / 1.188 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.4135, allocations: 59.83 kB / 1.189 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.4157, allocations: 1.553 MB / 1.19 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.4158, allocations: 37.7 kB / 1.19 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/0.4163, allocations: 0.6652 MB / 1.191 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.4165, allocations: 169.6 kB / 1.191 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.4168, allocations: 178.4 kB / 1.191 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4169, allocations: 337.9 kB / 1.191 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4179, allocations: 369.8 kB / 1.192 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4192, allocations: 0.6624 MB / 1.192 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.4211, allocations: 0.8945 MB / 1.193 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4211, allocations: 0 / 1.193 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003116/0.4242, allocations: 1.201 MB / 1.194 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4243, allocations: 8 kB / 1.194 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4243, allocations: 8 kB / 1.194 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008857/0.4252, allocations: 220.7 kB / 1.195 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.426, allocations: 191.7 kB / 1.195 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.4269, allocations: 0.7278 MB / 1.196 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4285, allocations: 222.6 kB / 1.196 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.4286, allocations: 51.97 kB / 1.196 GB, free: 5.328 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.000553/0.4292, allocations: 353.6 kB / 1.196 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.4294, allocations: 146.2 kB / 1.196 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.432, allocations: 1.145 MB / 1.197 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.432, allocations: 15.92 kB / 1.197 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.432, allocations: 0 / 1.197 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.432, allocations: 0 / 1.197 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.4375, allocations: 2.51 MB / 1.2 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4375, allocations: 0 / 1.2 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.438, allocations: 87.88 kB / 1.2 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009136/0.4389, allocations: 212.7 kB / 1.2 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.439, allocations: 19.94 kB / 1.2 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4404, allocations: 0.7786 MB / 1.201 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4404, allocations: 0 / 1.201 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.4439, allocations: 1.199 MB / 1.202 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.4445, allocations: 354.8 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.4447, allocations: 8 kB / 1.202 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.4457, allocations: 83.91 kB / 1.203 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.4458, allocations: 36.52 kB / 1.203 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.4459, allocations: 27.97 kB / 1.203 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001791/0.4477, allocations: 1.09 MB / 1.204 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4477, allocations: 0 / 1.204 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001245/0.4489, allocations: 443.4 kB / 1.204 GB, free: 12.65 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.004543/0.4535, allocations: 2.141 MB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002455/0.4559, allocations: 0.8795 MB / 1.207 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.456, allocations: 4 kB / 1.207 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4573, allocations: 439.9 kB / 1.207 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.4606, allocations: 0.7452 MB / 1.208 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.4786, allocations: 11.4 MB / 1.219 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.4793, allocations: 1.172 MB / 1.22 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001094/0.4804, allocations: 260.1 kB / 1.221 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.4811, allocations: 0.5461 MB / 1.221 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4811, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4699/0.9511, allocations: 43.42 MB / 1.264 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.43, allocations: 11.77 kB / 1.264 GB, free: 168.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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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