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.006981/0.006981, allocations: 100.5 kB / 15.73 MB, free: 6.066 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.001642/0.001642, allocations: 195.5 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.398/2.398, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 1.018 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6875, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06317/0.7507, allocations: 70.5 MB / 1.235 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.7735, allocations: 18.93 MB / 1.253 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.7755, allocations: 71.56 kB / 1.254 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.7774, allocations: 0.8346 MB / 1.254 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.7839, allocations: 3.005 MB / 1.257 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.7875, allocations: 1.655 MB / 1.259 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004636/0.7922, allocations: 4.07 MB / 1.263 GB, free: 436 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.7939, allocations: 1.444 MB / 1.264 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.7972, allocations: 1.822 MB / 1.266 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.7988, allocations: 1.183 MB / 1.267 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.7991, allocations: 176 kB / 1.267 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.8017, allocations: 1.416 MB / 1.269 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.802, allocations: 390.6 kB / 1.269 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.8028, allocations: 0.9176 MB / 1.27 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.8064, allocations: 3.116 MB / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8065, allocations: 0 / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8065, allocations: 0 / 1.273 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.8065, allocations: 0 / 1.273 GB, free: 5.922 MB / 0.9981 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.003156/0.8097, allocations: 2.083 MB / 1.275 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8097, allocations: 8.625 kB / 1.275 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.8099, allocations: 152.6 kB / 1.275 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.812, allocations: 463.1 kB / 1.276 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.8144, allocations: 1.556 MB / 1.277 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.8145, allocations: 93.95 kB / 1.277 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8147, allocations: 100 kB / 1.277 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.817, allocations: 1.317 MB / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.817, allocations: 3.938 kB / 1.279 GB, free: 15.92 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.8171, allocations: 44 kB / 1.279 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.8172, allocations: 28 kB / 1.279 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.8197, allocations: 1.097 MB / 1.28 GB, free: 14.75 MB / 1.014 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.007791/0.8275, allocations: 7.499 MB / 1.287 GB, free: 6.742 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.8306, allocations: 0.8075 MB / 1.288 GB, free: 5.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.8312, allocations: 282 kB / 1.288 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.8324, allocations: 1.722 MB / 1.29 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.8324, allocations: 46.94 kB / 1.29 GB, free: 3.484 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.8324, allocations: 0 / 1.29 GB, free: 3.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004615/0.837, allocations: 1.335 MB / 1.291 GB, free: 2.125 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.8371, allocations: 59.78 kB / 1.291 GB, free: 2.055 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.8394, allocations: 1.546 MB / 1.293 GB, free: 0.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/0.8395, allocations: 37.7 kB / 1.293 GB, free: 468 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.8401, allocations: 0.6859 MB / 1.294 GB, free: 15.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.8402, allocations: 182.5 kB / 1.294 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.8405, allocations: 170.5 kB / 1.294 GB, free: 15.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8407, allocations: 334 kB / 1.294 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009913/0.8417, allocations: 365.7 kB / 1.295 GB, free: 14.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.8429, allocations: 0.6622 MB / 1.295 GB, free: 13.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.8448, allocations: 0.8982 MB / 1.296 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.8448, allocations: 0 / 1.296 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002931/0.8477, allocations: 1.198 MB / 1.297 GB, free: 11.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.8477, allocations: 8 kB / 1.297 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8478, allocations: 12.03 kB / 1.297 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.8486, allocations: 216.6 kB / 1.297 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.8493, allocations: 195.7 kB / 1.298 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008283/0.8502, allocations: 0.724 MB / 1.298 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.8517, allocations: 215 kB / 1.299 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.8519, allocations: 47.98 kB / 1.299 GB, free: 10.29 MB / 1.029 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.0005396/0.8524, allocations: 357.6 kB / 1.299 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.8527, allocations: 155 kB / 1.299 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.8551, allocations: 1.135 MB / 1.3 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.8551, allocations: 15.98 kB / 1.3 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.8551, allocations: 0 / 1.3 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.8552, allocations: 7.969 kB / 1.3 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.8604, allocations: 2.514 MB / 1.303 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8604, allocations: 0 / 1.303 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.8608, allocations: 79.89 kB / 1.303 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.8615, allocations: 216.8 kB / 1.303 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.8616, allocations: 15.98 kB / 1.303 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.8629, allocations: 0.7787 MB / 1.304 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.8629, allocations: 0 / 1.304 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/0.8662, allocations: 1.215 MB / 1.305 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/0.8669, allocations: 359.7 kB / 1.305 GB, free: 3.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.8671, allocations: 16 kB / 1.305 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009465/0.8681, allocations: 71.91 kB / 1.305 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.8682, allocations: 44.5 kB / 1.305 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.8682, allocations: 23.98 kB / 1.305 GB, free: 3.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001851/0.8701, allocations: 1.086 MB / 1.306 GB, free: 2.027 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8701, allocations: 0 / 1.306 GB, free: 2.027 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001292/0.8714, allocations: 447.1 kB / 1.307 GB, free: 1.59 MB / 1.029 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.004443/0.8759, allocations: 2.131 MB / 1.309 GB, free: 15.42 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.878, allocations: 0.8524 MB / 1.31 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.878, allocations: 0 / 1.31 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.8793, allocations: 443.6 kB / 1.31 GB, free: 14.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.8825, allocations: 0.7447 MB / 1.311 GB, free: 13.4 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.9006, allocations: 10.49 MB / 1.321 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.9014, allocations: 1.168 MB / 1.322 GB, free: 1.332 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.9024, allocations: 268.1 kB / 1.323 GB, free: 1.066 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/0.9031, allocations: 0.5422 MB / 1.323 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of SimCode: time 8.61e-07/0.9031, allocations: 0 / 1.323 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07136/0.9745, allocations: 43.75 MB / 1.366 GB, free: 5.227 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.68, allocations: 15.89 kB / 1.366 GB, free: 5.211 MB / 1.092 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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