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.001371/0.001371, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002071/0.002071, allocations: 220 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.969 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.54/3.54, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 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="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: 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.002189/0.002189, allocations: 69.12 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4382, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09842/0.5366, allocations: 72.1 MB / 1.423 GB, free: 108 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03181/0.5684, allocations: 19.11 MB / 1.442 GB, free: 12.95 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003619/0.572, allocations: 95.19 kB / 1.442 GB, free: 12.86 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.5752, allocations: 0.854 MB / 1.443 GB, free: 12 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.5858, allocations: 3.047 MB / 1.446 GB, free: 8.938 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005851/0.5917, allocations: 1.715 MB / 1.447 GB, free: 7.23 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008538/0.6002, allocations: 4.077 MB / 1.451 GB, free: 3.141 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003698/0.6039, allocations: 1.157 MB / 1.453 GB, free: 1.938 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006482/0.6104, allocations: 1.985 MB / 1.455 GB, free: 15.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.6134, allocations: 1.21 MB / 1.456 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.6141, allocations: 176 kB / 1.456 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.6184, allocations: 1.49 MB / 1.457 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000784/0.6192, allocations: 398.5 kB / 1.458 GB, free: 12.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.6214, allocations: 0.9293 MB / 1.459 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.6281, allocations: 3.15 MB / 1.462 GB, free: 8.586 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6281, allocations: 4 kB / 1.462 GB, free: 8.582 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6281, allocations: 0 / 1.462 GB, free: 8.582 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.524e-05/0.6282, allocations: 3.984 kB / 1.462 GB, free: 8.578 MB / 1.154 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.00577/0.6339, allocations: 2.011 MB / 1.464 GB, free: 6.52 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.634, allocations: 12.03 kB / 1.464 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003968/0.6344, allocations: 156.5 kB / 1.464 GB, free: 6.348 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.6369, allocations: 462.5 kB / 1.464 GB, free: 5.895 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.6406, allocations: 1.512 MB / 1.466 GB, free: 4.336 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.6407, allocations: 78.03 kB / 1.466 GB, free: 4.258 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.6409, allocations: 107.9 kB / 1.466 GB, free: 4.152 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.644, allocations: 1.313 MB / 1.467 GB, free: 2.73 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.644, allocations: 3.938 kB / 1.467 GB, free: 2.727 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.6441, allocations: 44 kB / 1.467 GB, free: 2.684 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.6441, allocations: 27.94 kB / 1.467 GB, free: 2.656 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.6471, allocations: 1.108 MB / 1.468 GB, free: 1.543 MB / 1.154 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.0112/0.6583, allocations: 7.385 MB / 1.476 GB, free: 9.664 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.6616, allocations: 0.7744 MB / 1.476 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.6622, allocations: 270 kB / 1.477 GB, free: 8.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/0.6628, allocations: 160.3 kB / 1.477 GB, free: 8.457 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6629, allocations: 42.94 kB / 1.477 GB, free: 8.406 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.073e-06/0.6629, allocations: 0 / 1.477 GB, free: 8.406 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.004947/0.6678, allocations: 1.264 MB / 1.478 GB, free: 7.133 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.6679, allocations: 59.84 kB / 1.478 GB, free: 7.062 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.6713, allocations: 1.55 MB / 1.48 GB, free: 5.504 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/0.6714, allocations: 37.7 kB / 1.48 GB, free: 5.461 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000752/0.6721, allocations: 0.6857 MB / 1.48 GB, free: 4.77 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.6723, allocations: 178.5 kB / 1.48 GB, free: 4.594 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.6727, allocations: 178.5 kB / 1.481 GB, free: 4.414 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6728, allocations: 333.9 kB / 1.481 GB, free: 4.082 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6738, allocations: 369.8 kB / 1.481 GB, free: 3.723 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.6752, allocations: 0.6621 MB / 1.482 GB, free: 2.934 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.6772, allocations: 0.8819 MB / 1.483 GB, free: 1.938 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.6772, allocations: 4 kB / 1.483 GB, free: 1.934 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00331/0.6806, allocations: 1.197 MB / 1.484 GB, free: 0.7305 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6806, allocations: 8 kB / 1.484 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.6806, allocations: 11.98 kB / 1.484 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.6815, allocations: 224.6 kB / 1.484 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.6823, allocations: 183.7 kB / 1.484 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.6834, allocations: 0.724 MB / 1.485 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.6852, allocations: 223 kB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.6853, allocations: 39.98 kB / 1.485 GB, free: 15.3 MB / 1.186 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.0008976/0.6862, allocations: 363.5 kB / 1.486 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.6867, allocations: 159 kB / 1.486 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.6895, allocations: 1.16 MB / 1.487 GB, free: 13.6 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.6895, allocations: 11.98 kB / 1.487 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6895, allocations: 0 / 1.487 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6895, allocations: 3.984 kB / 1.487 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006084/0.6956, allocations: 2.495 MB / 1.489 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6956, allocations: 4.031 kB / 1.489 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.696, allocations: 87.88 kB / 1.49 GB, free: 10.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008049/0.6968, allocations: 212.5 kB / 1.49 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.6969, allocations: 20 kB / 1.49 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.6983, allocations: 0.7786 MB / 1.491 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6983, allocations: 0 / 1.491 GB, free: 9.887 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.7019, allocations: 1.219 MB / 1.492 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/0.7027, allocations: 282.7 kB / 1.492 GB, free: 8.352 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/0.703, allocations: 8 kB / 1.492 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.704, allocations: 79.91 kB / 1.492 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.7041, allocations: 40.36 kB / 1.492 GB, free: 8.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.544e-05/0.7041, allocations: 31.98 kB / 1.492 GB, free: 8.195 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002117/0.7062, allocations: 1.09 MB / 1.493 GB, free: 7.109 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.7062, allocations: 0 / 1.493 GB, free: 7.109 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001437/0.7077, allocations: 459 kB / 1.494 GB, free: 6.66 MB / 1.186 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.004798/0.7125, allocations: 2.113 MB / 1.496 GB, free: 4.504 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002587/0.7151, allocations: 0.8286 MB / 1.497 GB, free: 3.672 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7151, allocations: 3.938 kB / 1.497 GB, free: 3.668 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.7165, allocations: 423.4 kB / 1.497 GB, free: 3.258 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/0.7203, allocations: 0.7394 MB / 1.498 GB, free: 2.527 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.7409, allocations: 10.54 MB / 1.508 GB, free: 7.605 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.7421, allocations: 1.172 MB / 1.509 GB, free: 6.406 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001221/0.7433, allocations: 274.8 kB / 1.509 GB, free: 6.137 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009225/0.7442, allocations: 0.5461 MB / 1.51 GB, free: 5.59 MB / 1.201 GB Notification: Performance of SimCode: time 1.713e-06/0.7442, allocations: 4 kB / 1.51 GB, free: 5.586 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.8482, allocations: 44.54 MB / 1.553 GB, free: 9.5 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.82, allocations: 6.391 kB / 1.553 GB, free: 9.496 MB / 1.248 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.25323891500011]