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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.278/3.278, allocations: 497.2 MB / 0.7811 GB, free: 33.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 74.86 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.4229, allocations: 173.9 MB / 1.304 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08598/0.5089, allocations: 71.11 MB / 1.373 GB, free: 10.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03013/0.539, allocations: 18.98 MB / 1.392 GB, free: 7.121 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.5424, allocations: 67.62 kB / 1.392 GB, free: 7.055 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.545, allocations: 0.854 MB / 1.393 GB, free: 6.195 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00935/0.5544, allocations: 2.99 MB / 1.396 GB, free: 3.191 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.5594, allocations: 1.654 MB / 1.397 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00717/0.5666, allocations: 4.038 MB / 1.401 GB, free: 13.49 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.5688, allocations: 1.168 MB / 1.402 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.5741, allocations: 1.935 MB / 1.404 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.5767, allocations: 1.194 MB / 1.406 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003524/0.5771, allocations: 176 kB / 1.406 GB, free: 8.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.5806, allocations: 1.439 MB / 1.407 GB, free: 7.539 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.5811, allocations: 406.4 kB / 1.407 GB, free: 7.141 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.5826, allocations: 0.9176 MB / 1.408 GB, free: 6.219 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005819/0.5884, allocations: 3.122 MB / 1.411 GB, free: 3.086 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5884, allocations: 0 / 1.411 GB, free: 3.086 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5884, allocations: 0 / 1.411 GB, free: 3.086 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.369e-05/0.5884, allocations: 4 kB / 1.411 GB, free: 3.082 MB / 1.107 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.004386/0.5928, allocations: 2.083 MB / 1.413 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.5929, allocations: 12.92 kB / 1.413 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.5931, allocations: 156.6 kB / 1.414 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.5954, allocations: 455.2 kB / 1.414 GB, free: 324 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003224/0.5987, allocations: 1.562 MB / 1.416 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.484e-05/0.5987, allocations: 82.03 kB / 1.416 GB, free: 14.62 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.5989, allocations: 104 kB / 1.416 GB, free: 14.52 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/0.6016, allocations: 1.313 MB / 1.417 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.6016, allocations: 4 kB / 1.417 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.6017, allocations: 44 kB / 1.417 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6018, allocations: 27.98 kB / 1.417 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.6045, allocations: 1.104 MB / 1.418 GB, free: 11.91 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.01029/0.6148, allocations: 7.526 MB / 1.426 GB, free: 3.871 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003163/0.6179, allocations: 0.7672 MB / 1.426 GB, free: 3.098 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.6186, allocations: 270 kB / 1.427 GB, free: 2.832 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.6203, allocations: 1.718 MB / 1.428 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.6203, allocations: 42.92 kB / 1.428 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/0.6203, allocations: 4 kB / 1.428 GB, free: 0.668 MB / 1.123 GB Notification: Performance of matching and sorting (n=48): time 0.004992/0.6253, allocations: 1.335 MB / 1.43 GB, free: 15.3 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.6254, allocations: 59.84 kB / 1.43 GB, free: 15.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/0.6281, allocations: 1.546 MB / 1.431 GB, free: 13.68 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.6282, allocations: 33.7 kB / 1.431 GB, free: 13.64 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007374/0.629, allocations: 0.6857 MB / 1.432 GB, free: 12.95 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.6292, allocations: 174.5 kB / 1.432 GB, free: 12.78 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.6295, allocations: 182.5 kB / 1.432 GB, free: 12.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6297, allocations: 341.9 kB / 1.433 GB, free: 12.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009509/0.6307, allocations: 361.8 kB / 1.433 GB, free: 11.9 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6319, allocations: 0.662 MB / 1.434 GB, free: 11.11 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.6338, allocations: 0.8867 MB / 1.434 GB, free: 10.11 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.6338, allocations: 4 kB / 1.434 GB, free: 10.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003171/0.637, allocations: 1.194 MB / 1.436 GB, free: 8.902 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.637, allocations: 10.34 kB / 1.436 GB, free: 8.895 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.637, allocations: 8 kB / 1.436 GB, free: 8.887 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/0.638, allocations: 228.6 kB / 1.436 GB, free: 8.66 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.6388, allocations: 191.7 kB / 1.436 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000974/0.6397, allocations: 0.724 MB / 1.437 GB, free: 7.723 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.6414, allocations: 211.1 kB / 1.437 GB, free: 7.516 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.6415, allocations: 47.91 kB / 1.437 GB, free: 7.469 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.0007038/0.6422, allocations: 357.6 kB / 1.437 GB, free: 7.109 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.6426, allocations: 155 kB / 1.437 GB, free: 6.957 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6451, allocations: 1.145 MB / 1.439 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.6451, allocations: 11.98 kB / 1.439 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6451, allocations: 0 / 1.439 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.6451, allocations: 0 / 1.439 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005561/0.6507, allocations: 2.514 MB / 1.441 GB, free: 3.195 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.6507, allocations: 0 / 1.441 GB, free: 3.195 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.6511, allocations: 91.81 kB / 1.441 GB, free: 3.105 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007767/0.6519, allocations: 212.8 kB / 1.441 GB, free: 2.895 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.6519, allocations: 16 kB / 1.441 GB, free: 2.879 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.6533, allocations: 0.7786 MB / 1.442 GB, free: 2.074 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6533, allocations: 0 / 1.442 GB, free: 2.074 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.6567, allocations: 1.208 MB / 1.443 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007858/0.6575, allocations: 355.8 kB / 1.444 GB, free: 464 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.6577, allocations: 16 kB / 1.444 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/0.6586, allocations: 71.91 kB / 1.444 GB, free: 376 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.6587, allocations: 40.52 kB / 1.444 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.6588, allocations: 31.98 kB / 1.444 GB, free: 304 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002051/0.6608, allocations: 1.086 MB / 1.445 GB, free: 15.21 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6608, allocations: 0 / 1.445 GB, free: 15.21 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001551/0.6624, allocations: 451 kB / 1.445 GB, free: 14.77 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.004925/0.6673, allocations: 2.124 MB / 1.447 GB, free: 12.61 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002609/0.6699, allocations: 0.8216 MB / 1.448 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6699, allocations: 3.938 kB / 1.448 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.6712, allocations: 415.3 kB / 1.448 GB, free: 11.38 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/0.6747, allocations: 0.7364 MB / 1.449 GB, free: 10.65 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.6953, allocations: 10.5 MB / 1.459 GB, free: 15.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/0.6962, allocations: 1.164 MB / 1.461 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001259/0.6975, allocations: 271.3 kB / 1.461 GB, free: 14.3 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008511/0.6983, allocations: 0.5461 MB / 1.461 GB, free: 13.76 MB / 1.17 GB Notification: Performance of SimCode: time 1.543e-06/0.6983, allocations: 3.938 kB / 1.461 GB, free: 13.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09727/0.7956, allocations: 43.9 MB / 1.504 GB, free: 2.414 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/15.95, allocations: 6.578 kB / 1.504 GB, free: 2.41 MB / 1.201 GB " [Timeout remaining time 284] (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_2/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: 22.86086332425475]