Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002212/0.002212, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.006/3.006, allocations: 0.49 GB / 0.7923 GB, free: 1.422 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 63.89 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.168, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0786/1.246, allocations: 71.41 MB / 1.391 GB, free: 5.605 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03166/1.278, allocations: 19.01 MB / 1.41 GB, free: 7.949 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/1.282, allocations: 95.94 kB / 1.41 GB, free: 7.898 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003348/1.285, allocations: 0.8478 MB / 1.411 GB, free: 7.352 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/1.296, allocations: 3 MB / 1.414 GB, free: 5.57 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005825/1.302, allocations: 1.662 MB / 1.415 GB, free: 4.602 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008068/1.31, allocations: 4.025 MB / 1.419 GB, free: 2.543 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/1.313, allocations: 1.186 MB / 1.42 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/1.319, allocations: 1.964 MB / 1.422 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/1.323, allocations: 1.206 MB / 1.423 GB, free: 324 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006927/1.323, allocations: 180.4 kB / 1.424 GB, free: 320 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/1.328, allocations: 1.46 MB / 1.425 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008856/1.329, allocations: 398.5 kB / 1.425 GB, free: 15.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002566/1.332, allocations: 0.9207 MB / 1.426 GB, free: 14.92 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008558/1.34, allocations: 3.154 MB / 1.429 GB, free: 13.73 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.34, allocations: 1.312 kB / 1.429 GB, free: 13.73 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.066e-06/1.34, allocations: 4 kB / 1.429 GB, free: 13.73 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000106/1.34, allocations: 0 / 1.429 GB, free: 13.73 MB / 1.123 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.006479/1.347, allocations: 2.089 MB / 1.431 GB, free: 12.3 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.347, allocations: 13.45 kB / 1.431 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.135e-05/1.347, allocations: 27.84 kB / 1.431 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/1.347, allocations: 153.6 kB / 1.432 GB, free: 12.19 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/1.35, allocations: 460.3 kB / 1.432 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/1.354, allocations: 1.581 MB / 1.434 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.354, allocations: 77.88 kB / 1.434 GB, free: 10.92 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/1.354, allocations: 106.7 kB / 1.434 GB, free: 10.89 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/1.357, allocations: 1.311 MB / 1.435 GB, free: 9.977 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/1.357, allocations: 5.734 kB / 1.435 GB, free: 9.973 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.357, allocations: 46.81 kB / 1.435 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/1.357, allocations: 26.59 kB / 1.435 GB, free: 9.938 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/1.36, allocations: 1.107 MB / 1.436 GB, free: 9.375 MB / 1.123 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.01148/1.372, allocations: 7.511 MB / 1.444 GB, free: 2.477 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/1.375, allocations: 0.7735 MB / 1.444 GB, free: 2.066 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/1.376, allocations: 268.3 kB / 1.445 GB, free: 1.926 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/1.378, allocations: 1.723 MB / 1.446 GB, free: 15.89 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/1.378, allocations: 41.81 kB / 1.446 GB, free: 15.85 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 4.218e-06/1.378, allocations: 0 / 1.446 GB, free: 15.85 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005927/1.384, allocations: 1.339 MB / 1.448 GB, free: 15.11 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/1.384, allocations: 61.31 kB / 1.448 GB, free: 15.04 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/1.388, allocations: 1.552 MB / 1.449 GB, free: 14.19 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/1.388, allocations: 36.98 kB / 1.449 GB, free: 14.15 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/1.389, allocations: 0.6854 MB / 1.45 GB, free: 13.54 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/1.389, allocations: 177.1 kB / 1.45 GB, free: 13.39 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/1.389, allocations: 181.1 kB / 1.45 GB, free: 13.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.389, allocations: 336.2 kB / 1.451 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/1.391, allocations: 371.7 kB / 1.451 GB, free: 12.76 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/1.392, allocations: 0.6594 MB / 1.452 GB, free: 12.19 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.394, allocations: 0.8794 MB / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/1.394, allocations: 2.344 kB / 1.452 GB, free: 11.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003834/1.398, allocations: 1.196 MB / 1.454 GB, free: 10.92 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/1.398, allocations: 7.906 kB / 1.454 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.398, allocations: 8.094 kB / 1.454 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009996/1.399, allocations: 226.4 kB / 1.454 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009807/1.4, allocations: 186 kB / 1.454 GB, free: 10.76 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/1.401, allocations: 0.7224 MB / 1.455 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.403, allocations: 220.1 kB / 1.455 GB, free: 9.996 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.404, allocations: 39.73 kB / 1.455 GB, free: 9.988 MB / 1.139 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.0009793/1.405, allocations: 359.5 kB / 1.455 GB, free: 9.719 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/1.405, allocations: 157.9 kB / 1.455 GB, free: 9.633 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/1.408, allocations: 1.146 MB / 1.457 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/1.408, allocations: 10.8 kB / 1.457 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.408, allocations: 1.375 kB / 1.457 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.408, allocations: 3.984 kB / 1.457 GB, free: 8.957 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006963/1.415, allocations: 2.513 MB / 1.459 GB, free: 7.188 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.415, allocations: 5.188 kB / 1.459 GB, free: 7.184 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/1.416, allocations: 86.02 kB / 1.459 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/1.417, allocations: 211.6 kB / 1.459 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/1.417, allocations: 26.23 kB / 1.459 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/1.418, allocations: 0.7698 MB / 1.46 GB, free: 6.375 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.418, allocations: 0.8125 kB / 1.46 GB, free: 6.375 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/1.422, allocations: 1.205 MB / 1.461 GB, free: 5.648 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.423, allocations: 358.5 kB / 1.462 GB, free: 5.332 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/1.424, allocations: 12.28 kB / 1.462 GB, free: 5.324 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.425, allocations: 78.12 kB / 1.462 GB, free: 5.285 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.425, allocations: 47.5 kB / 1.462 GB, free: 5.254 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/1.425, allocations: 24.92 kB / 1.462 GB, free: 5.246 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002284/1.427, allocations: 1.086 MB / 1.463 GB, free: 4.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.427, allocations: 0 / 1.463 GB, free: 4.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002786/1.43, allocations: 449.3 kB / 1.463 GB, free: 4.551 MB / 1.139 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.006128/1.436, allocations: 2.123 MB / 1.465 GB, free: 3.113 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00286/1.439, allocations: 0.8197 MB / 1.466 GB, free: 2.738 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.439, allocations: 1.281 kB / 1.466 GB, free: 2.738 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.441, allocations: 419.9 kB / 1.467 GB, free: 2.543 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/1.445, allocations: 0.743 MB / 1.467 GB, free: 2.141 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.47, allocations: 10.51 MB / 1.477 GB, free: 7.734 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009786/1.471, allocations: 1.176 MB / 1.479 GB, free: 6.527 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001493/1.473, allocations: 265.8 kB / 1.479 GB, free: 6.266 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.474, allocations: 0.55 MB / 1.479 GB, free: 5.715 MB / 1.154 GB Notification: Performance of SimCode: time 1.413e-06/1.474, allocations: 4 kB / 1.479 GB, free: 5.711 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09469/1.569, allocations: 43.92 MB / 1.522 GB, free: 10.35 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/17.13, allocations: 10.06 kB / 1.522 GB, free: 10.34 MB / 1.201 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.03183163399808]