Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001306/0.001306, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001346/0.001346, allocations: 217 kB / 23.04 MB, free: 5.074 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7715 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="cs",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.001999/0.001999, allocations: 60.47 kB / 1.118 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3547, allocations: 169.9 MB / 1.284 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1581/0.5129, allocations: 135 MB / 1.416 GB, free: 12.37 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0387/0.5516, allocations: 23.35 MB / 1.439 GB, free: 4.953 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.5565, allocations: 174.5 kB / 1.439 GB, free: 4.781 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004964/0.5614, allocations: 1.545 MB / 1.44 GB, free: 3.227 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.5747, allocations: 4.396 MB / 1.445 GB, free: 14.81 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006708/0.5814, allocations: 2.259 MB / 1.447 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01088/0.5923, allocations: 6.603 MB / 1.453 GB, free: 5.949 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003831/0.5961, allocations: 1.852 MB / 1.455 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007659/0.6038, allocations: 2.876 MB / 1.458 GB, free: 1.16 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.608, allocations: 1.976 MB / 1.46 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00085/0.6088, allocations: 248 kB / 1.46 GB, free: 14.93 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005863/0.6147, allocations: 2.07 MB / 1.462 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.6158, allocations: 0.6184 MB / 1.463 GB, free: 12.24 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00317/0.619, allocations: 1.462 MB / 1.464 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009044/0.628, allocations: 4.453 MB / 1.469 GB, free: 6.301 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.628, allocations: 0 / 1.469 GB, free: 6.301 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/0.628, allocations: 0 / 1.469 GB, free: 6.301 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001034/0.6281, allocations: 0 / 1.469 GB, free: 6.301 MB / 1.17 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.007104/0.6352, allocations: 3.203 MB / 1.472 GB, free: 3.023 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6353, allocations: 8.031 kB / 1.472 GB, free: 3.016 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.632e-05/0.6353, allocations: 43.22 kB / 1.472 GB, free: 2.973 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.6356, allocations: 220 kB / 1.472 GB, free: 2.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.6404, allocations: 0.857 MB / 1.473 GB, free: 1.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00581/0.6462, allocations: 2.261 MB / 1.475 GB, free: 15.54 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.6463, allocations: 123 kB / 1.475 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.6467, allocations: 164 kB / 1.475 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004804/0.6515, allocations: 1.923 MB / 1.477 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.6515, allocations: 3.984 kB / 1.477 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.6517, allocations: 68 kB / 1.477 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.6517, allocations: 39.94 kB / 1.477 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.6569, allocations: 1.803 MB / 1.479 GB, free: 11.35 MB / 1.186 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.01629/0.6732, allocations: 8.865 MB / 1.488 GB, free: 1.902 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.6778, allocations: 1.149 MB / 1.489 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.679, allocations: 433.4 kB / 1.489 GB, free: 316 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/0.6795, allocations: 160.4 kB / 1.489 GB, free: 156 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.6796, allocations: 42.56 kB / 1.489 GB, free: 104 kB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.237e-06/0.6796, allocations: 0 / 1.489 GB, free: 104 kB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009345/0.6889, allocations: 2.205 MB / 1.492 GB, free: 13.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.689, allocations: 92.8 kB / 1.492 GB, free: 13.77 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/0.6935, allocations: 2.532 MB / 1.494 GB, free: 11.22 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.6937, allocations: 45.7 kB / 1.494 GB, free: 11.17 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.6948, allocations: 1.043 MB / 1.495 GB, free: 10.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.6951, allocations: 289.5 kB / 1.495 GB, free: 9.836 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/0.6956, allocations: 254.7 kB / 1.496 GB, free: 9.582 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.6959, allocations: 349.9 kB / 1.496 GB, free: 9.234 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.6977, allocations: 0.5686 MB / 1.497 GB, free: 8.664 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.7001, allocations: 0.9504 MB / 1.498 GB, free: 7.566 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.7035, allocations: 1.252 MB / 1.499 GB, free: 6.207 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.7035, allocations: 3.938 kB / 1.499 GB, free: 6.203 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007415/0.7109, allocations: 2.029 MB / 1.501 GB, free: 4.156 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.7109, allocations: 8.625 kB / 1.501 GB, free: 4.148 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.7109, allocations: 8 kB / 1.501 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.7132, allocations: 0.4885 MB / 1.501 GB, free: 3.648 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.7146, allocations: 287.5 kB / 1.502 GB, free: 3.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.7173, allocations: 1.514 MB / 1.503 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.721, allocations: 374.5 kB / 1.503 GB, free: 1.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.7212, allocations: 59.97 kB / 1.503 GB, free: 1.375 MB / 1.201 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.0015/0.7227, allocations: 461.5 kB / 1.504 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/0.7236, allocations: 262.3 kB / 1.504 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/0.7277, allocations: 1.505 MB / 1.506 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.7277, allocations: 15.98 kB / 1.506 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7277, allocations: 4 kB / 1.506 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.7278, allocations: 3.984 kB / 1.506 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/0.7367, allocations: 3.587 MB / 1.509 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.7367, allocations: 7.938 kB / 1.509 GB, free: 11.41 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/0.7373, allocations: 131.8 kB / 1.509 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.7392, allocations: 489.2 kB / 1.51 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.546e-05/0.7393, allocations: 31.97 kB / 1.51 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.7424, allocations: 1.582 MB / 1.511 GB, free: 9.137 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.7424, allocations: 11.92 kB / 1.511 GB, free: 9.125 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006841/0.7493, allocations: 1.954 MB / 1.513 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.7506, allocations: 423.8 kB / 1.514 GB, free: 6.691 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/0.7513, allocations: 27.92 kB / 1.514 GB, free: 6.664 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.7533, allocations: 135.8 kB / 1.514 GB, free: 6.531 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.7535, allocations: 63.83 kB / 1.514 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.7536, allocations: 39.91 kB / 1.514 GB, free: 6.43 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003393/0.757, allocations: 1.785 MB / 1.516 GB, free: 4.641 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.91e-07/0.757, allocations: 0 / 1.516 GB, free: 4.641 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002296/0.7593, allocations: 0.6941 MB / 1.516 GB, free: 3.945 MB / 1.217 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.00807/0.7673, allocations: 3.008 MB / 1.519 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00478/0.7721, allocations: 1.315 MB / 1.521 GB, free: 15.55 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.7721, allocations: 4.062 kB / 1.521 GB, free: 15.54 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002629/0.7748, allocations: 0.6544 MB / 1.521 GB, free: 14.89 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007056/0.7818, allocations: 1.326 MB / 1.522 GB, free: 13.58 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/0.8207, allocations: 16.75 MB / 1.539 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/0.8219, allocations: 1.486 MB / 1.54 GB, free: 10.85 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002171/0.8241, allocations: 446.8 kB / 1.541 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/0.8257, allocations: 0.8976 MB / 1.542 GB, free: 9.516 MB / 1.248 GB Notification: Performance of SimCode: time 1.343e-06/0.8257, allocations: 0 / 1.542 GB, free: 9.516 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7623/1.588, allocations: 67.27 MB / 1.607 GB, free: 262.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/19.63, allocations: 10.11 kB / 1.607 GB, free: 262.7 MB / 1.264 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 26.324501084978692]