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.00184/0.00184, allocations: 109 kB / 16.46 MB, free: 6.453 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.002221/0.002221, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.48/1.48, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.278/3.278, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.0021/0.0021, allocations: 73.62 kB / 1.149 GB, free: 26.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4023, allocations: 176.1 MB / 1.321 GB, free: 3.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09335/0.4956, allocations: 71.42 MB / 1.391 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0304/0.526, allocations: 19.01 MB / 1.409 GB, free: 8.719 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.5293, allocations: 99.12 kB / 1.409 GB, free: 8.621 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.5327, allocations: 0.8462 MB / 1.41 GB, free: 7.77 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.5428, allocations: 3 MB / 1.413 GB, free: 4.758 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.548, allocations: 1.657 MB / 1.415 GB, free: 3.109 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007518/0.5555, allocations: 4.023 MB / 1.419 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.5581, allocations: 1.18 MB / 1.42 GB, free: 13.86 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.5638, allocations: 1.962 MB / 1.422 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.5669, allocations: 1.214 MB / 1.423 GB, free: 10.68 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005124/0.5674, allocations: 176 kB / 1.423 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.5714, allocations: 1.455 MB / 1.424 GB, free: 9.047 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005779/0.572, allocations: 410.4 kB / 1.425 GB, free: 8.645 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.5737, allocations: 0.9215 MB / 1.426 GB, free: 7.719 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006464/0.5802, allocations: 3.15 MB / 1.429 GB, free: 4.559 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5802, allocations: 4 kB / 1.429 GB, free: 4.555 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5802, allocations: 0 / 1.429 GB, free: 4.555 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.847e-05/0.5802, allocations: 4 kB / 1.429 GB, free: 4.551 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.004727/0.585, allocations: 2.093 MB / 1.431 GB, free: 2.395 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.585, allocations: 15.92 kB / 1.431 GB, free: 2.379 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002207/0.5852, allocations: 156.6 kB / 1.431 GB, free: 2.219 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.5877, allocations: 459.1 kB / 1.431 GB, free: 1.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.5909, allocations: 1.568 MB / 1.433 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5911, allocations: 85.97 kB / 1.433 GB, free: 60 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.5912, allocations: 104 kB / 1.433 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.5942, allocations: 1.313 MB / 1.434 GB, free: 14.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5942, allocations: 3.938 kB / 1.434 GB, free: 14.53 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.5943, allocations: 44 kB / 1.434 GB, free: 14.49 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.5943, allocations: 24 kB / 1.434 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.5972, allocations: 1.108 MB / 1.436 GB, free: 13.35 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.01067/0.6079, allocations: 7.511 MB / 1.443 GB, free: 5.328 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.6113, allocations: 0.786 MB / 1.444 GB, free: 4.527 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.612, allocations: 258 kB / 1.444 GB, free: 4.273 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/0.6136, allocations: 1.726 MB / 1.446 GB, free: 2.16 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.6136, allocations: 46.92 kB / 1.446 GB, free: 2.105 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.346e-06/0.6136, allocations: 0 / 1.446 GB, free: 2.105 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005366/0.619, allocations: 1.339 MB / 1.447 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.6191, allocations: 55.84 kB / 1.447 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.6219, allocations: 1.55 MB / 1.448 GB, free: 15.11 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.622, allocations: 37.7 kB / 1.449 GB, free: 15.07 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.6228, allocations: 0.6897 MB / 1.449 GB, free: 14.38 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.623, allocations: 174.5 kB / 1.449 GB, free: 14.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.6233, allocations: 174.5 kB / 1.45 GB, free: 14.03 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.6235, allocations: 334 kB / 1.45 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.6246, allocations: 361.8 kB / 1.45 GB, free: 13.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.626, allocations: 0.6659 MB / 1.451 GB, free: 12.55 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.6281, allocations: 0.8906 MB / 1.452 GB, free: 11.55 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.6281, allocations: 8 kB / 1.452 GB, free: 11.55 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00362/0.6317, allocations: 1.19 MB / 1.453 GB, free: 10.34 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.6318, allocations: 11.94 kB / 1.453 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.6318, allocations: 8 kB / 1.453 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6328, allocations: 220.7 kB / 1.453 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.6336, allocations: 195.7 kB / 1.453 GB, free: 9.914 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.6347, allocations: 0.7201 MB / 1.454 GB, free: 9.168 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.6365, allocations: 219 kB / 1.454 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.6367, allocations: 47.97 kB / 1.454 GB, free: 8.906 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.0007549/0.6374, allocations: 364.3 kB / 1.455 GB, free: 8.543 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/0.6378, allocations: 155 kB / 1.455 GB, free: 8.391 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.6406, allocations: 1.141 MB / 1.456 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.6406, allocations: 15.98 kB / 1.456 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6406, allocations: 4 kB / 1.456 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.6406, allocations: 3.984 kB / 1.456 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.6471, allocations: 2.506 MB / 1.458 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.6471, allocations: 4 kB / 1.458 GB, free: 4.621 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.6475, allocations: 84.02 kB / 1.458 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008588/0.6484, allocations: 220.5 kB / 1.459 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.6484, allocations: 15.98 kB / 1.459 GB, free: 4.305 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.6499, allocations: 0.7748 MB / 1.459 GB, free: 3.504 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.6499, allocations: 4.125 kB / 1.459 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004326/0.6542, allocations: 1.212 MB / 1.461 GB, free: 2.246 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.6553, allocations: 363.7 kB / 1.461 GB, free: 1.871 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.6556, allocations: 15.98 kB / 1.461 GB, free: 1.855 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.6565, allocations: 67.92 kB / 1.461 GB, free: 1.789 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6567, allocations: 40.5 kB / 1.461 GB, free: 1.746 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.6568, allocations: 27.98 kB / 1.461 GB, free: 1.719 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002269/0.659, allocations: 1.09 MB / 1.462 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.659, allocations: 3.938 kB / 1.462 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001773/0.6608, allocations: 451.1 kB / 1.463 GB, free: 192 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.005216/0.666, allocations: 2.107 MB / 1.465 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002583/0.6686, allocations: 0.8252 MB / 1.465 GB, free: 13.21 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6686, allocations: 0 / 1.465 GB, free: 13.21 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.67, allocations: 415.6 kB / 1.466 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.6738, allocations: 0.7342 MB / 1.467 GB, free: 12.08 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.695, allocations: 10.53 MB / 1.477 GB, free: 1.168 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/0.6959, allocations: 1.172 MB / 1.478 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001242/0.6972, allocations: 268.2 kB / 1.478 GB, free: 15.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009226/0.6981, allocations: 0.5422 MB / 1.479 GB, free: 15.16 MB / 1.186 GB Notification: Performance of SimCode: time 1.764e-06/0.6981, allocations: 0 / 1.479 GB, free: 15.16 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.8006, allocations: 43.89 MB / 1.522 GB, free: 3.801 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.87, allocations: 3.984 kB / 1.522 GB, free: 3.797 MB / 1.217 GB " [Timeout remaining time 284] (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: 23.239997999044135]