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.004755/0.004754, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001306/0.001306, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.734/2.734, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2879, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08065/0.3686, allocations: 70.51 MB / 1.235 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6058/0.9745, allocations: 18.91 MB / 1.253 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00292/0.9774, allocations: 72.47 kB / 1.254 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.9805, allocations: 0.824 MB / 1.254 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.9926, allocations: 2.849 MB / 1.257 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006813/0.9994, allocations: 1.651 MB / 1.259 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008341/1.008, allocations: 4.051 MB / 1.263 GB, free: 18.46 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/1.011, allocations: 1.445 MB / 1.264 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/1.017, allocations: 1.773 MB / 1.266 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003428/1.02, allocations: 1.187 MB / 1.267 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007325/1.021, allocations: 174.9 kB / 1.267 GB, free: 18.03 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00545/1.027, allocations: 1.412 MB / 1.269 GB, free: 18.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000703/1.027, allocations: 386.3 kB / 1.269 GB, free: 17.95 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/1.029, allocations: 0.9176 MB / 1.27 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006242/1.035, allocations: 3.108 MB / 1.273 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.035, allocations: 1.219 kB / 1.273 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.035, allocations: 0 / 1.273 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.942e-05/1.035, allocations: 4 kB / 1.273 GB, free: 17.34 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.005277/1.04, allocations: 2.087 MB / 1.275 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.04, allocations: 13.12 kB / 1.275 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/1.041, allocations: 156 kB / 1.275 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/1.045, allocations: 457.7 kB / 1.275 GB, free: 16.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.049, allocations: 1.559 MB / 1.277 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.009e-05/1.049, allocations: 84.19 kB / 1.277 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/1.049, allocations: 102.1 kB / 1.277 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/1.054, allocations: 1.312 MB / 1.278 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/1.054, allocations: 9.156 kB / 1.278 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.054, allocations: 44 kB / 1.279 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/1.054, allocations: 25.31 kB / 1.279 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/1.059, allocations: 1.098 MB / 1.28 GB, free: 15.36 MB / 0.9981 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.009531/1.068, allocations: 7.517 MB / 1.287 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/1.071, allocations: 0.8074 MB / 1.288 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/1.072, allocations: 277.5 kB / 1.288 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008899/1.073, allocations: 1.732 MB / 1.29 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.073, allocations: 38.94 kB / 1.29 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/1.073, allocations: 0 / 1.29 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004767/1.078, allocations: 1.345 MB / 1.291 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.078, allocations: 57.66 kB / 1.291 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/1.08, allocations: 1.55 MB / 1.293 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/1.08, allocations: 33.02 kB / 1.293 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/1.081, allocations: 0.6835 MB / 1.293 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/1.081, allocations: 182.4 kB / 1.293 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/1.081, allocations: 179.4 kB / 1.294 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/1.081, allocations: 333 kB / 1.294 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/1.082, allocations: 363.7 kB / 1.294 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/1.083, allocations: 0.657 MB / 1.295 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.085, allocations: 0.8794 MB / 1.296 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.085, allocations: 2.938 kB / 1.296 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002983/1.088, allocations: 1.207 MB / 1.297 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.088, allocations: 9.281 kB / 1.297 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.088, allocations: 7.562 kB / 1.297 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008683/1.089, allocations: 221.2 kB / 1.297 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007634/1.09, allocations: 189.9 kB / 1.297 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007153/1.091, allocations: 0.7289 MB / 1.298 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/1.092, allocations: 225 kB / 1.298 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/1.092, allocations: 44.72 kB / 1.298 GB, free: 3.871 MB / 0.9981 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.0005189/1.093, allocations: 353.7 kB / 1.299 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/1.093, allocations: 154.9 kB / 1.299 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/1.095, allocations: 1.136 MB / 1.3 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/1.095, allocations: 7.5 kB / 1.3 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.095, allocations: 1.953 kB / 1.3 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/1.095, allocations: 2.906 kB / 1.3 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/1.101, allocations: 2.519 MB / 1.302 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.101, allocations: 3.125 kB / 1.302 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/1.101, allocations: 86.5 kB / 1.303 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007712/1.102, allocations: 209.9 kB / 1.303 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/1.102, allocations: 16.84 kB / 1.303 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/1.103, allocations: 0.7762 MB / 1.304 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.103, allocations: 5.438 kB / 1.304 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/1.107, allocations: 1.215 MB / 1.305 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/1.107, allocations: 351.1 kB / 1.305 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.108, allocations: 21.27 kB / 1.305 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.109, allocations: 78.53 kB / 1.305 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/1.109, allocations: 38.25 kB / 1.305 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/1.109, allocations: 29.09 kB / 1.305 GB, free: 416 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001905/1.111, allocations: 1.089 MB / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.111, allocations: 0 / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of remove unused functions: time 0.001594/1.112, allocations: 446.8 kB / 1.307 GB, free: 15.91 MB / 1.014 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.004799/1.117, allocations: 2.136 MB / 1.309 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002342/1.119, allocations: 0.8494 MB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.119, allocations: 1.156 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.121, allocations: 443.6 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.124, allocations: 0.7398 MB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.144, allocations: 10.49 MB / 1.321 GB, free: 8.891 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000951/1.145, allocations: 1.174 MB / 1.322 GB, free: 8.148 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001205/1.146, allocations: 257.4 kB / 1.322 GB, free: 8.078 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009123/1.147, allocations: 0.5504 MB / 1.323 GB, free: 7.672 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.147, allocations: 4 kB / 1.323 GB, free: 7.668 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.248, allocations: 43.74 MB / 1.366 GB, free: 9.051 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.61, allocations: 17.09 kB / 1.366 GB, free: 9.039 MB / 1.045 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