Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.00157/0.00157, 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.00215/0.00215, allocations: 209.3 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.027 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.321/3.321, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.002104/0.002104, allocations: 67.14 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1611/0.5193, allocations: 135.2 MB / 1.458 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.05237/0.5717, allocations: 23.35 MB / 1.481 GB, free: 2.82 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006239/0.5779, allocations: 174.5 kB / 1.481 GB, free: 2.648 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00641/0.5843, allocations: 1.557 MB / 1.482 GB, free: 1.082 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.6019, allocations: 4.389 MB / 1.487 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00712/0.609, allocations: 2.256 MB / 1.489 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.6221, allocations: 6.585 MB / 1.495 GB, free: 3.832 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004683/0.6268, allocations: 1.868 MB / 1.497 GB, free: 1.902 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008364/0.6352, allocations: 3.139 MB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.6396, allocations: 1.945 MB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.6403, allocations: 252 kB / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/0.6456, allocations: 2.047 MB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.6464, allocations: 0.6262 MB / 1.505 GB, free: 9.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002271/0.6487, allocations: 1.466 MB / 1.506 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008322/0.657, allocations: 4.473 MB / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.657, allocations: 0 / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.703e-06/0.657, allocations: 0 / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.013e-05/0.6571, allocations: 0 / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00634/0.6634, allocations: 3.208 MB / 1.514 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.6635, allocations: 15.97 kB / 1.514 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/0.6638, allocations: 220 kB / 1.514 GB, free: 416 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.6682, allocations: 0.8611 MB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005311/0.6735, allocations: 2.273 MB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.6737, allocations: 127 kB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.674, allocations: 160 kB / 1.518 GB, free: 12.9 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004258/0.6782, allocations: 1.923 MB / 1.519 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.6783, allocations: 7.984 kB / 1.519 GB, free: 10.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.6784, allocations: 68 kB / 1.519 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.6784, allocations: 40 kB / 1.52 GB, free: 10.8 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/0.6833, allocations: 1.807 MB / 1.521 GB, free: 8.992 MB / 1.217 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.01541/0.6987, allocations: 8.858 MB / 1.53 GB, free: 15.54 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.7032, allocations: 1.15 MB / 1.531 GB, free: 14.38 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.7043, allocations: 433.4 kB / 1.531 GB, free: 13.95 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.7049, allocations: 164.6 kB / 1.532 GB, free: 13.79 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.7049, allocations: 38.56 kB / 1.532 GB, free: 13.74 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.975e-06/0.7049, allocations: 0 / 1.532 GB, free: 13.74 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.009129/0.714, allocations: 2.198 MB / 1.534 GB, free: 11.53 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.7141, allocations: 92.98 kB / 1.534 GB, free: 11.42 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/0.7198, allocations: 2.541 MB / 1.536 GB, free: 8.859 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/0.72, allocations: 45.7 kB / 1.536 GB, free: 8.809 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.7212, allocations: 1.055 MB / 1.537 GB, free: 7.746 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.7217, allocations: 281.6 kB / 1.538 GB, free: 7.469 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005527/0.7222, allocations: 254.7 kB / 1.538 GB, free: 7.215 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.7224, allocations: 345.9 kB / 1.538 GB, free: 6.871 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.7242, allocations: 0.5725 MB / 1.539 GB, free: 6.297 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.7265, allocations: 0.9621 MB / 1.54 GB, free: 5.184 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.7297, allocations: 1.248 MB / 1.541 GB, free: 3.832 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7297, allocations: 4 kB / 1.541 GB, free: 3.828 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007055/0.7368, allocations: 2.033 MB / 1.543 GB, free: 1.777 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.7368, allocations: 8.625 kB / 1.543 GB, free: 1.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.7368, allocations: 8 kB / 1.543 GB, free: 1.762 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.7389, allocations: 497 kB / 1.543 GB, free: 1.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.7403, allocations: 279.6 kB / 1.544 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.7428, allocations: 1.518 MB / 1.545 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.7458, allocations: 370.5 kB / 1.546 GB, free: 15.06 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.746, allocations: 59.97 kB / 1.546 GB, free: 15 MB / 1.248 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001172/0.7471, allocations: 461.5 kB / 1.546 GB, free: 14.54 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008285/0.748, allocations: 262.3 kB / 1.546 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.7523, allocations: 1.51 MB / 1.548 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.7523, allocations: 12 kB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7523, allocations: 4 kB / 1.548 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.7523, allocations: 3.984 kB / 1.548 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/0.7617, allocations: 3.611 MB / 1.551 GB, free: 9.027 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/0.7618, allocations: 0 / 1.551 GB, free: 9.027 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.7624, allocations: 131.7 kB / 1.551 GB, free: 8.898 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.7642, allocations: 489.2 kB / 1.552 GB, free: 8.414 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.7643, allocations: 27.98 kB / 1.552 GB, free: 8.387 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/0.7672, allocations: 1.602 MB / 1.554 GB, free: 6.734 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.7672, allocations: 4 kB / 1.554 GB, free: 6.73 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/0.7738, allocations: 1.954 MB / 1.555 GB, free: 4.719 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.7752, allocations: 431.8 kB / 1.556 GB, free: 4.293 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006249/0.7759, allocations: 19.94 kB / 1.556 GB, free: 4.273 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002033/0.7779, allocations: 139.8 kB / 1.556 GB, free: 4.137 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.778, allocations: 63.83 kB / 1.556 GB, free: 4.074 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.7781, allocations: 43.97 kB / 1.556 GB, free: 4.031 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003808/0.7819, allocations: 1.785 MB / 1.558 GB, free: 2.242 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7819, allocations: 0 / 1.558 GB, free: 2.242 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002403/0.7843, allocations: 0.698 MB / 1.559 GB, free: 1.543 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007736/0.7921, allocations: 2.989 MB / 1.561 GB, free: 14.48 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004589/0.7967, allocations: 1.311 MB / 1.563 GB, free: 13.18 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/0.7967, allocations: 8.188 kB / 1.563 GB, free: 13.17 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.7991, allocations: 0.6544 MB / 1.563 GB, free: 12.51 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006993/0.8061, allocations: 1.326 MB / 1.565 GB, free: 11.2 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/0.8439, allocations: 16.8 MB / 1.581 GB, free: 9.93 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.8452, allocations: 1.49 MB / 1.583 GB, free: 8.406 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001915/0.8471, allocations: 437.8 kB / 1.583 GB, free: 7.977 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/0.8484, allocations: 0.9015 MB / 1.584 GB, free: 7.074 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/0.8484, allocations: 0 / 1.584 GB, free: 7.074 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8648/1.713, allocations: 67.34 MB / 1.65 GB, free: 260 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/20.25, allocations: 13.02 kB / 1.65 GB, free: 260 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 27.353012909879908]