Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001873/0.001873, allocations: 103 kB / 16.45 MB, free: 6.449 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.002177/0.002177, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.162/3.162, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] 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.CarnotVerifyCOP,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_12_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.002016/0.002016, allocations: 68.75 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1444/0.459, allocations: 133.9 MB / 1.452 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03428/0.4933, allocations: 23.27 MB / 1.474 GB, free: 5.625 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004183/0.4974, allocations: 174.5 kB / 1.474 GB, free: 5.453 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004199/0.5016, allocations: 1.549 MB / 1.476 GB, free: 3.895 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.5125, allocations: 4.307 MB / 1.48 GB, free: 15.57 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005309/0.5178, allocations: 2.181 MB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.009405/0.5273, allocations: 6.506 MB / 1.489 GB, free: 6.887 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003368/0.5306, allocations: 1.922 MB / 1.491 GB, free: 4.906 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007839/0.5385, allocations: 3.079 MB / 1.494 GB, free: 1.824 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.5423, allocations: 1.945 MB / 1.495 GB, free: 15.87 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0009226/0.5433, allocations: 252 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/0.5489, allocations: 2.004 MB / 1.498 GB, free: 13.62 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.55, allocations: 0.6223 MB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002285/0.5523, allocations: 1.458 MB / 1.5 GB, free: 11.53 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007412/0.5597, allocations: 4.457 MB / 1.504 GB, free: 7.055 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5597, allocations: 0 / 1.504 GB, free: 7.055 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5597, allocations: 0 / 1.504 GB, free: 7.055 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.782e-05/0.5598, allocations: 3.938 kB / 1.504 GB, free: 7.051 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.006267/0.566, allocations: 3.27 MB / 1.507 GB, free: 3.691 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.5661, allocations: 11.98 kB / 1.507 GB, free: 3.68 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002898/0.5664, allocations: 224 kB / 1.507 GB, free: 3.449 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.5711, allocations: 0.8569 MB / 1.508 GB, free: 2.59 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.5761, allocations: 2.352 MB / 1.511 GB, free: 168 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.5763, allocations: 127 kB / 1.511 GB, free: 40 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.5766, allocations: 160 kB / 1.511 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.5811, allocations: 1.922 MB / 1.513 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.5811, allocations: 0 / 1.513 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.5813, allocations: 68 kB / 1.513 GB, free: 13.83 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.5813, allocations: 39.94 kB / 1.513 GB, free: 13.79 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005146/0.5865, allocations: 1.792 MB / 1.515 GB, free: 12 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.01524/0.6017, allocations: 8.987 MB / 1.523 GB, free: 2.402 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.6065, allocations: 1.15 MB / 1.525 GB, free: 1.234 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.6078, allocations: 429.4 kB / 1.525 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.6093, allocations: 1.723 MB / 1.527 GB, free: 14.7 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.6093, allocations: 38.56 kB / 1.527 GB, free: 14.65 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/0.6093, allocations: 0 / 1.527 GB, free: 14.65 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.009608/0.6189, allocations: 2.338 MB / 1.529 GB, free: 12.26 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.619, allocations: 93.05 kB / 1.529 GB, free: 12.15 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004703/0.6237, allocations: 2.497 MB / 1.531 GB, free: 9.637 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.6239, allocations: 45.7 kB / 1.531 GB, free: 9.586 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.6249, allocations: 1.054 MB / 1.533 GB, free: 8.523 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.6253, allocations: 281.6 kB / 1.533 GB, free: 8.246 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/0.6258, allocations: 250.8 kB / 1.533 GB, free: 7.996 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6259, allocations: 349.9 kB / 1.533 GB, free: 7.648 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.6279, allocations: 0.5686 MB / 1.534 GB, free: 7.078 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.6303, allocations: 0.9543 MB / 1.535 GB, free: 5.969 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/0.6338, allocations: 1.256 MB / 1.536 GB, free: 4.609 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.6338, allocations: 3.938 kB / 1.536 GB, free: 4.605 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007371/0.6412, allocations: 2.025 MB / 1.538 GB, free: 2.566 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.6412, allocations: 8 kB / 1.538 GB, free: 2.559 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6412, allocations: 8 kB / 1.538 GB, free: 2.551 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.6431, allocations: 425.8 kB / 1.538 GB, free: 2.129 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.6445, allocations: 283.5 kB / 1.539 GB, free: 1.852 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.6471, allocations: 1.499 MB / 1.54 GB, free: 308 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/0.6503, allocations: 370.7 kB / 1.541 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.6506, allocations: 59.97 kB / 1.541 GB, free: 15.88 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 (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.001099/0.6517, allocations: 458 kB / 1.541 GB, free: 15.42 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000772/0.6524, allocations: 266.3 kB / 1.541 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.6569, allocations: 1.498 MB / 1.543 GB, free: 13.64 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.6569, allocations: 8 kB / 1.543 GB, free: 13.63 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6569, allocations: 0 / 1.543 GB, free: 13.63 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.6569, allocations: 7.984 kB / 1.543 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009306/0.6662, allocations: 3.604 MB / 1.546 GB, free: 9.91 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.6662, allocations: 4.062 kB / 1.546 GB, free: 9.906 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.667, allocations: 131.8 kB / 1.546 GB, free: 9.777 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.6687, allocations: 424.2 kB / 1.547 GB, free: 9.359 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.6688, allocations: 19.98 kB / 1.547 GB, free: 9.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.6719, allocations: 1.571 MB / 1.548 GB, free: 7.719 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.6719, allocations: 7.938 kB / 1.548 GB, free: 7.711 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/0.6788, allocations: 1.941 MB / 1.55 GB, free: 5.703 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.6803, allocations: 0.4911 MB / 1.551 GB, free: 5.191 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/0.6807, allocations: 23.94 kB / 1.551 GB, free: 5.168 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.6825, allocations: 135.8 kB / 1.551 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6826, allocations: 63.81 kB / 1.551 GB, free: 4.973 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.6827, allocations: 43.95 kB / 1.551 GB, free: 4.93 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003252/0.686, allocations: 1.758 MB / 1.553 GB, free: 3.168 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.686, allocations: 0 / 1.553 GB, free: 3.168 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002526/0.6885, allocations: 0.698 MB / 1.553 GB, free: 2.469 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 (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.008593/0.6971, allocations: 2.975 MB / 1.556 GB, free: 15.42 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004823/0.7019, allocations: 1.302 MB / 1.558 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7019, allocations: 0 / 1.558 GB, free: 14.12 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.7045, allocations: 0.6329 MB / 1.558 GB, free: 13.49 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006698/0.7112, allocations: 1.333 MB / 1.56 GB, free: 12.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.7535, allocations: 16.77 MB / 1.576 GB, free: 10.93 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.7551, allocations: 1.494 MB / 1.577 GB, free: 9.402 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002195/0.7573, allocations: 436.6 kB / 1.578 GB, free: 8.973 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/0.7591, allocations: 0.9015 MB / 1.579 GB, free: 8.07 MB / 1.279 GB Notification: Performance of SimCode: time 1.833e-06/0.7591, allocations: 4 kB / 1.579 GB, free: 8.066 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7387/1.498, allocations: 66.11 MB / 1.643 GB, free: 260.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/19.37, allocations: 11.44 kB / 1.643 GB, free: 260.7 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 26.157284423941746]