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.001371/0.001371, allocations: 113 kB / 18.94 MB, free: 2.934 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.002005/0.002005, allocations: 209.4 kB / 22.25 MB, free: 5.086 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 8.035 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.469/3.469, allocations: 0.49 GB / 0.7951 GB, free: 33.34 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.002142/0.002142, allocations: 71.97 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3914, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08728/0.4787, allocations: 72.1 MB / 1.396 GB, free: 9.586 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03116/0.5099, allocations: 19.11 MB / 1.415 GB, free: 6.418 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.5127, allocations: 95.19 kB / 1.415 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.5157, allocations: 0.854 MB / 1.416 GB, free: 5.465 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.5265, allocations: 3.06 MB / 1.419 GB, free: 2.391 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.5316, allocations: 1.712 MB / 1.421 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006835/0.5384, allocations: 4.081 MB / 1.425 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.5412, allocations: 1.157 MB / 1.426 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/0.5467, allocations: 1.979 MB / 1.428 GB, free: 9.422 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/0.5496, allocations: 1.218 MB / 1.429 GB, free: 8.199 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006096/0.5503, allocations: 176 kB / 1.429 GB, free: 8.027 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.5544, allocations: 1.482 MB / 1.43 GB, free: 6.543 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007027/0.5551, allocations: 410.4 kB / 1.431 GB, free: 6.141 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.5571, allocations: 0.9138 MB / 1.432 GB, free: 5.223 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005976/0.5631, allocations: 3.154 MB / 1.435 GB, free: 2.059 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5631, allocations: 4 kB / 1.435 GB, free: 2.055 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5631, allocations: 0 / 1.435 GB, free: 2.055 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.249e-05/0.5632, allocations: 0 / 1.435 GB, free: 2.055 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.004752/0.5679, allocations: 2.019 MB / 1.437 GB, free: 15.99 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.568, allocations: 8.031 kB / 1.437 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000276/0.5682, allocations: 156.6 kB / 1.437 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.5707, allocations: 463 kB / 1.437 GB, free: 15.37 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.574, allocations: 1.512 MB / 1.439 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.5741, allocations: 78.03 kB / 1.439 GB, free: 13.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.5743, allocations: 108 kB / 1.439 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00292/0.5772, allocations: 1.321 MB / 1.44 GB, free: 12.19 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.5773, allocations: 11.98 kB / 1.44 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.5774, allocations: 43.94 kB / 1.44 GB, free: 12.14 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.5774, allocations: 28 kB / 1.44 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.5803, allocations: 1.097 MB / 1.441 GB, free: 11.01 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.01029/0.5906, allocations: 7.385 MB / 1.449 GB, free: 3.133 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.5938, allocations: 0.7666 MB / 1.449 GB, free: 2.355 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.5944, allocations: 266 kB / 1.45 GB, free: 2.094 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.595, allocations: 160.3 kB / 1.45 GB, free: 1.938 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.595, allocations: 42.88 kB / 1.45 GB, free: 1.887 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 1.683e-06/0.595, allocations: 0 / 1.45 GB, free: 1.887 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004883/0.5999, allocations: 1.26 MB / 1.451 GB, free: 0.6172 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.6, allocations: 63.78 kB / 1.451 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002926/0.6029, allocations: 1.55 MB / 1.453 GB, free: 14.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.54e-05/0.603, allocations: 37.7 kB / 1.453 GB, free: 14.93 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/0.6037, allocations: 0.6934 MB / 1.453 GB, free: 14.24 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.604, allocations: 174.5 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.6043, allocations: 174.5 kB / 1.454 GB, free: 13.89 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6044, allocations: 334 kB / 1.454 GB, free: 13.56 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.6055, allocations: 361.8 kB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6068, allocations: 0.6697 MB / 1.455 GB, free: 12.41 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.6088, allocations: 0.8896 MB / 1.456 GB, free: 11.41 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6088, allocations: 4 kB / 1.456 GB, free: 11.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003269/0.6121, allocations: 1.193 MB / 1.457 GB, free: 10.21 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6121, allocations: 11.94 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.6122, allocations: 11.98 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009114/0.6131, allocations: 216.7 kB / 1.457 GB, free: 9.969 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.6139, allocations: 191.7 kB / 1.457 GB, free: 9.781 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009628/0.6148, allocations: 0.7317 MB / 1.458 GB, free: 9.023 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6165, allocations: 215 kB / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6166, allocations: 43.98 kB / 1.458 GB, free: 8.77 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.0007098/0.6173, allocations: 345.6 kB / 1.459 GB, free: 8.422 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.6177, allocations: 155 kB / 1.459 GB, free: 8.27 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.6205, allocations: 1.168 MB / 1.46 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.6205, allocations: 7.984 kB / 1.46 GB, free: 7.074 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.6205, allocations: 0 / 1.46 GB, free: 7.074 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.6205, allocations: 3.984 kB / 1.46 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/0.6274, allocations: 2.507 MB / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.6274, allocations: 3.938 kB / 1.463 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.6278, allocations: 83.88 kB / 1.463 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008094/0.6286, allocations: 216.8 kB / 1.463 GB, free: 4.188 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.6287, allocations: 16 kB / 1.463 GB, free: 4.172 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.63, allocations: 0.7785 MB / 1.464 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.63, allocations: 7.969 kB / 1.464 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/0.6336, allocations: 1.219 MB / 1.465 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007249/0.6343, allocations: 282.6 kB / 1.465 GB, free: 1.824 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.6346, allocations: 12 kB / 1.465 GB, free: 1.812 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6356, allocations: 71.91 kB / 1.465 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.6357, allocations: 40.42 kB / 1.465 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.6358, allocations: 23.98 kB / 1.465 GB, free: 1.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002168/0.638, allocations: 1.094 MB / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/0.638, allocations: 192 / 1.466 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00147/0.6394, allocations: 451.1 kB / 1.467 GB, free: 152 kB / 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.00483/0.6443, allocations: 2.124 MB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.6466, allocations: 0.8327 MB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6466, allocations: 4.062 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.6479, allocations: 423 kB / 1.47 GB, free: 12.73 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.6513, allocations: 0.7438 MB / 1.471 GB, free: 12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/0.6714, allocations: 10.54 MB / 1.481 GB, free: 1.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.6724, allocations: 1.168 MB / 1.482 GB, free: 15.88 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001058/0.6735, allocations: 272.1 kB / 1.482 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000864/0.6744, allocations: 0.55 MB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of SimCode: time 7.91e-07/0.6744, allocations: 0 / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09873/0.7731, allocations: 44.54 MB / 1.526 GB, free: 3.051 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.91, allocations: 3.875 kB / 1.526 GB, free: 3.051 MB / 1.217 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.169420737074688]