Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001857/0.001857, allocations: 114.3 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.003196/0.003196, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.008 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.467/3.467, allocations: 0.505 GB / 0.8101 GB, free: 21.98 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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.002019/0.002019, allocations: 70.38 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.381, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1604/0.5413, allocations: 135.2 MB / 1.485 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03952/0.5809, allocations: 23.33 MB / 1.508 GB, free: 9.367 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005867/0.5867, allocations: 174.5 kB / 1.508 GB, free: 9.195 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.5921, allocations: 1.557 MB / 1.509 GB, free: 7.629 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01547/0.6076, allocations: 4.376 MB / 1.514 GB, free: 3.234 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/0.6144, allocations: 2.246 MB / 1.516 GB, free: 1.008 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.6254, allocations: 6.588 MB / 1.522 GB, free: 10.4 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003697/0.6291, allocations: 1.844 MB / 1.524 GB, free: 8.496 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008645/0.6377, allocations: 3.144 MB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004586/0.6423, allocations: 1.935 MB / 1.529 GB, free: 3.406 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0008048/0.6431, allocations: 244 kB / 1.529 GB, free: 3.168 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006162/0.6493, allocations: 2.055 MB / 1.531 GB, free: 1.109 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.6505, allocations: 0.6185 MB / 1.532 GB, free: 500 kB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003833/0.6544, allocations: 1.458 MB / 1.533 GB, free: 15.02 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.6649, allocations: 4.461 MB / 1.538 GB, free: 10.55 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.6649, allocations: 4 kB / 1.538 GB, free: 10.54 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6649, allocations: 0 / 1.538 GB, free: 10.54 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001199/0.6651, allocations: 0 / 1.538 GB, free: 10.54 MB / 1.232 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.007937/0.673, allocations: 3.187 MB / 1.541 GB, free: 7.285 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.673, allocations: 12.03 kB / 1.541 GB, free: 7.273 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/0.6734, allocations: 223.7 kB / 1.541 GB, free: 7.043 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.6784, allocations: 0.8605 MB / 1.542 GB, free: 6.18 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006167/0.6845, allocations: 2.277 MB / 1.544 GB, free: 3.816 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.6847, allocations: 123 kB / 1.544 GB, free: 3.695 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.685, allocations: 164 kB / 1.544 GB, free: 3.535 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004697/0.6897, allocations: 1.919 MB / 1.546 GB, free: 1.551 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.6898, allocations: 7.938 kB / 1.546 GB, free: 1.543 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.6899, allocations: 64 kB / 1.546 GB, free: 1.48 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.69, allocations: 40 kB / 1.546 GB, free: 1.441 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005336/0.6953, allocations: 1.796 MB / 1.548 GB, free: 15.64 MB / 1.248 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.01635/0.7117, allocations: 8.834 MB / 1.557 GB, free: 6.223 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.7162, allocations: 1.157 MB / 1.558 GB, free: 5.051 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.7173, allocations: 433.2 kB / 1.558 GB, free: 4.621 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.7179, allocations: 160.6 kB / 1.558 GB, free: 4.465 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.7179, allocations: 46.5 kB / 1.558 GB, free: 4.41 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.7179, allocations: 0 / 1.558 GB, free: 4.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009147/0.7271, allocations: 2.167 MB / 1.561 GB, free: 2.227 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.7271, allocations: 85.11 kB / 1.561 GB, free: 2.125 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/0.7318, allocations: 2.521 MB / 1.563 GB, free: 15.59 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.732, allocations: 41.7 kB / 1.563 GB, free: 15.54 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.7331, allocations: 1.051 MB / 1.564 GB, free: 14.48 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004144/0.7336, allocations: 285.6 kB / 1.564 GB, free: 14.2 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005057/0.7341, allocations: 250.8 kB / 1.565 GB, free: 13.95 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.7343, allocations: 357.8 kB / 1.565 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.7361, allocations: 0.5686 MB / 1.566 GB, free: 13.02 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/0.7384, allocations: 0.9543 MB / 1.567 GB, free: 11.92 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.7417, allocations: 1.248 MB / 1.568 GB, free: 10.57 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.7417, allocations: 11.94 kB / 1.568 GB, free: 10.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007127/0.7488, allocations: 2.021 MB / 1.57 GB, free: 8.516 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.7488, allocations: 8 kB / 1.57 GB, free: 8.508 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7488, allocations: 8 kB / 1.57 GB, free: 8.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.7508, allocations: 429.7 kB / 1.57 GB, free: 8.074 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.7522, allocations: 279.6 kB / 1.57 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.7549, allocations: 1.513 MB / 1.572 GB, free: 6.238 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.7579, allocations: 366.5 kB / 1.572 GB, free: 5.879 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.7582, allocations: 55.97 kB / 1.572 GB, free: 5.824 MB / 1.264 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.7594, allocations: 466.7 kB / 1.573 GB, free: 5.359 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007461/0.7601, allocations: 266.2 kB / 1.573 GB, free: 5.098 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.7642, allocations: 1.498 MB / 1.574 GB, free: 3.582 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.7642, allocations: 12 kB / 1.574 GB, free: 3.57 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7642, allocations: 3.938 kB / 1.574 GB, free: 3.566 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.7642, allocations: 3.984 kB / 1.574 GB, free: 3.562 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008857/0.7731, allocations: 3.592 MB / 1.578 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7731, allocations: 4 kB / 1.578 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.7738, allocations: 136.1 kB / 1.578 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.7755, allocations: 413.2 kB / 1.578 GB, free: 15.32 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7756, allocations: 27.97 kB / 1.579 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.7785, allocations: 1.572 MB / 1.58 GB, free: 13.67 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.7786, allocations: 4 kB / 1.58 GB, free: 13.67 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006715/0.7853, allocations: 1.956 MB / 1.582 GB, free: 11.64 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.7869, allocations: 419.9 kB / 1.582 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005634/0.7874, allocations: 20 kB / 1.582 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.7894, allocations: 139.8 kB / 1.583 GB, free: 11.08 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.7896, allocations: 63.78 kB / 1.583 GB, free: 11.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.7898, allocations: 39.95 kB / 1.583 GB, free: 10.98 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004439/0.7942, allocations: 1.762 MB / 1.584 GB, free: 9.211 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7942, allocations: 0 / 1.584 GB, free: 9.211 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003398/0.7976, allocations: 0.694 MB / 1.585 GB, free: 8.516 MB / 1.279 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008126/0.8057, allocations: 2.987 MB / 1.588 GB, free: 5.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004676/0.8104, allocations: 1.326 MB / 1.589 GB, free: 4.125 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.8104, allocations: 0 / 1.589 GB, free: 4.125 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.8129, allocations: 0.6407 MB / 1.59 GB, free: 3.484 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007424/0.8203, allocations: 1.329 MB / 1.591 GB, free: 2.176 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/0.8623, allocations: 16.8 MB / 1.608 GB, free: 0.9023 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7576/1.62, allocations: 1.488 MB / 1.609 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002199/1.622, allocations: 434.1 kB / 1.609 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.624, allocations: 0.9008 MB / 1.61 GB, free: 248.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.624, allocations: 0 / 1.61 GB, free: 248.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/1.752, allocations: 66.98 MB / 1.676 GB, free: 212.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/20.47, allocations: 5.266 kB / 1.676 GB, free: 212.7 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.70590156200342]