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.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.001833/0.001833, allocations: 116.8 kB / 17.17 MB, free: 6 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.002087/0.002087, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.052/3.052, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_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.002055/0.002055, allocations: 75.89 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07681/1.166, allocations: 71.4 MB / 1.41 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02975/1.196, allocations: 19 MB / 1.428 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/1.199, allocations: 99.81 kB / 1.429 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/1.202, allocations: 0.85 MB / 1.429 GB, free: 14.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.212, allocations: 3 MB / 1.432 GB, free: 12.76 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005281/1.218, allocations: 1.662 MB / 1.434 GB, free: 11.45 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007693/1.225, allocations: 4.026 MB / 1.438 GB, free: 9.004 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/1.228, allocations: 1.181 MB / 1.439 GB, free: 8.121 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/1.234, allocations: 1.951 MB / 1.441 GB, free: 6.871 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/1.237, allocations: 1.211 MB / 1.442 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000508/1.238, allocations: 175.9 kB / 1.442 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/1.242, allocations: 1.461 MB / 1.444 GB, free: 5.328 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006114/1.243, allocations: 403.4 kB / 1.444 GB, free: 4.992 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/1.245, allocations: 0.9196 MB / 1.445 GB, free: 4.348 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006879/1.252, allocations: 3.155 MB / 1.448 GB, free: 2.156 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.252, allocations: 0 / 1.448 GB, free: 2.156 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.084e-06/1.252, allocations: 0 / 1.448 GB, free: 2.156 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.87e-05/1.252, allocations: 0 / 1.448 GB, free: 2.156 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.00514/1.257, allocations: 2.092 MB / 1.45 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.257, allocations: 9.594 kB / 1.45 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.949e-05/1.257, allocations: 26.16 kB / 1.45 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/1.257, allocations: 158.4 kB / 1.45 GB, free: 416 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/1.26, allocations: 464.6 kB / 1.451 GB, free: 188 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/1.263, allocations: 1.573 MB / 1.452 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.606e-05/1.263, allocations: 79 kB / 1.452 GB, free: 14.87 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.264, allocations: 105.8 kB / 1.452 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/1.267, allocations: 1.322 MB / 1.454 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/1.267, allocations: 6.438 kB / 1.454 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.267, allocations: 46.84 kB / 1.454 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/1.267, allocations: 25.75 kB / 1.454 GB, free: 13.88 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/1.27, allocations: 1.091 MB / 1.455 GB, free: 13.33 MB / 1.139 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.01107/1.281, allocations: 7.519 MB / 1.462 GB, free: 6.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/1.284, allocations: 0.7791 MB / 1.463 GB, free: 6.016 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/1.285, allocations: 264.5 kB / 1.463 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/1.287, allocations: 1.726 MB / 1.465 GB, free: 3.836 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.287, allocations: 38.69 kB / 1.465 GB, free: 3.793 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/1.287, allocations: 0 / 1.465 GB, free: 3.793 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005517/1.292, allocations: 1.335 MB / 1.466 GB, free: 3.055 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.292, allocations: 56.97 kB / 1.466 GB, free: 2.992 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/1.295, allocations: 1.555 MB / 1.468 GB, free: 2.141 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/1.295, allocations: 38.7 kB / 1.468 GB, free: 2.102 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/1.296, allocations: 0.6853 MB / 1.469 GB, free: 1.492 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/1.297, allocations: 180.8 kB / 1.469 GB, free: 1.336 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003487/1.297, allocations: 173.3 kB / 1.469 GB, free: 1.227 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.297, allocations: 340.7 kB / 1.469 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/1.298, allocations: 362.8 kB / 1.47 GB, free: 0.7188 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.3, allocations: 0.6604 MB / 1.47 GB, free: 156 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.302, allocations: 0.8824 MB / 1.471 GB, free: 15.5 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.302, allocations: 6.656 kB / 1.471 GB, free: 15.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003769/1.306, allocations: 1.199 MB / 1.472 GB, free: 14.87 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.306, allocations: 9.75 kB / 1.472 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.306, allocations: 7.156 kB / 1.472 GB, free: 14.87 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/1.307, allocations: 219.3 kB / 1.472 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/1.308, allocations: 194 kB / 1.473 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.309, allocations: 0.7226 MB / 1.473 GB, free: 14.07 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/1.311, allocations: 220.1 kB / 1.474 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.311, allocations: 38.8 kB / 1.474 GB, free: 13.94 MB / 1.154 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.0007513/1.312, allocations: 369.6 kB / 1.474 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/1.313, allocations: 161.7 kB / 1.474 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.315, allocations: 1.131 MB / 1.475 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.315, allocations: 8 kB / 1.475 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.315, allocations: 0 / 1.475 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.315, allocations: 3.984 kB / 1.475 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/1.322, allocations: 2.51 MB / 1.478 GB, free: 9.996 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.322, allocations: 0 / 1.478 GB, free: 9.996 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/1.323, allocations: 91.81 kB / 1.478 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008775/1.324, allocations: 208.8 kB / 1.478 GB, free: 9.699 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/1.324, allocations: 16 kB / 1.478 GB, free: 9.684 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/1.325, allocations: 0.7864 MB / 1.479 GB, free: 8.871 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.325, allocations: 3.984 kB / 1.479 GB, free: 8.867 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/1.329, allocations: 1.208 MB / 1.48 GB, free: 7.621 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.33, allocations: 355.8 kB / 1.48 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/1.331, allocations: 12 kB / 1.48 GB, free: 7.242 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.332, allocations: 75.91 kB / 1.48 GB, free: 7.168 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/1.332, allocations: 36.52 kB / 1.48 GB, free: 7.129 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/1.332, allocations: 27.98 kB / 1.48 GB, free: 7.102 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002407/1.334, allocations: 1.09 MB / 1.481 GB, free: 6.016 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.334, allocations: 0 / 1.481 GB, free: 6.016 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001895/1.336, allocations: 455.3 kB / 1.482 GB, free: 5.57 MB / 1.154 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.005729/1.342, allocations: 2.111 MB / 1.484 GB, free: 3.414 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002586/1.344, allocations: 0.8253 MB / 1.485 GB, free: 2.59 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.344, allocations: 3.984 kB / 1.485 GB, free: 2.586 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.346, allocations: 411.5 kB / 1.485 GB, free: 2.184 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/1.35, allocations: 0.7457 MB / 1.486 GB, free: 1.445 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.373, allocations: 10.52 MB / 1.496 GB, free: 6.539 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/1.374, allocations: 1.168 MB / 1.497 GB, free: 5.34 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001265/1.375, allocations: 276.1 kB / 1.498 GB, free: 5.066 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.376, allocations: 0.5422 MB / 1.498 GB, free: 4.523 MB / 1.17 GB Notification: Performance of SimCode: time 1.282e-06/1.376, allocations: 0 / 1.498 GB, free: 4.523 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09602/1.472, allocations: 43.93 MB / 1.541 GB, free: 9.102 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/17, allocations: 4.219 kB / 1.541 GB, free: 9.102 MB / 1.217 GB " [Timeout remaining time 283] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.154190042056143]