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.001306/0.001306, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001552/0.001552, allocations: 217.8 kB / 23.05 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.411/3.411, allocations: 0.5003 GB / 0.8061 GB, free: 26.68 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.002026/0.002026, allocations: 60.19 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 179 MB / 1.345 GB, free: 404 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1522/0.5342, allocations: 135.2 MB / 1.477 GB, free: 8.723 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03772/0.5719, allocations: 23.33 MB / 1.5 GB, free: 1.336 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/0.5762, allocations: 174.4 kB / 1.5 GB, free: 1.164 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004132/0.5803, allocations: 1.545 MB / 1.502 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.5921, allocations: 4.38 MB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005883/0.598, allocations: 2.258 MB / 1.508 GB, free: 8.969 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.6088, allocations: 6.582 MB / 1.515 GB, free: 2.371 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003973/0.6128, allocations: 1.844 MB / 1.517 GB, free: 480 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008025/0.6208, allocations: 3.137 MB / 1.52 GB, free: 13.33 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.6248, allocations: 1.929 MB / 1.521 GB, free: 11.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006818/0.6255, allocations: 248 kB / 1.522 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.6308, allocations: 2.059 MB / 1.524 GB, free: 9.086 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009235/0.6318, allocations: 0.6145 MB / 1.524 GB, free: 8.469 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.6343, allocations: 1.458 MB / 1.526 GB, free: 7.004 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.6429, allocations: 4.461 MB / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.6429, allocations: 3.984 kB / 1.53 GB, free: 2.523 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.974e-06/0.643, allocations: 7.938 kB / 1.53 GB, free: 2.516 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001457/0.6431, allocations: 0 / 1.53 GB, free: 2.516 MB / 1.217 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.0084/0.6515, allocations: 3.187 MB / 1.533 GB, free: 15.26 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6515, allocations: 12.03 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.978e-05/0.6516, allocations: 46.98 kB / 1.533 GB, free: 15.2 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003076/0.6519, allocations: 219.7 kB / 1.533 GB, free: 14.97 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.6568, allocations: 0.8528 MB / 1.534 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00578/0.6626, allocations: 2.28 MB / 1.537 GB, free: 11.75 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.6628, allocations: 127 kB / 1.537 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.6631, allocations: 160 kB / 1.537 GB, free: 11.47 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/0.6677, allocations: 1.93 MB / 1.539 GB, free: 9.473 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.6677, allocations: 0 / 1.539 GB, free: 9.473 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.6679, allocations: 67.98 kB / 1.539 GB, free: 9.406 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.6679, allocations: 36 kB / 1.539 GB, free: 9.371 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/0.6731, allocations: 1.784 MB / 1.541 GB, free: 7.586 MB / 1.232 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.01565/0.6887, allocations: 8.85 MB / 1.549 GB, free: 14.15 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004626/0.6933, allocations: 1.138 MB / 1.55 GB, free: 13 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.6946, allocations: 437.4 kB / 1.551 GB, free: 12.56 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/0.6952, allocations: 164.5 kB / 1.551 GB, free: 12.4 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.6952, allocations: 42.56 kB / 1.551 GB, free: 12.35 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.856e-06/0.6952, allocations: 0 / 1.551 GB, free: 12.35 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009387/0.7046, allocations: 2.183 MB / 1.553 GB, free: 10.15 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.7047, allocations: 85.11 kB / 1.553 GB, free: 10.05 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.7094, allocations: 2.513 MB / 1.556 GB, free: 7.52 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/0.7096, allocations: 45.7 kB / 1.556 GB, free: 7.469 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.7107, allocations: 1.051 MB / 1.557 GB, free: 6.41 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.7111, allocations: 281.6 kB / 1.557 GB, free: 6.133 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.7115, allocations: 258.7 kB / 1.557 GB, free: 5.875 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.7117, allocations: 345.9 kB / 1.558 GB, free: 5.531 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.7136, allocations: 0.5764 MB / 1.558 GB, free: 4.953 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.7159, allocations: 0.9504 MB / 1.559 GB, free: 3.855 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.7192, allocations: 1.244 MB / 1.56 GB, free: 2.504 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.7192, allocations: 4 kB / 1.56 GB, free: 2.5 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007141/0.7263, allocations: 2.029 MB / 1.562 GB, free: 464 kB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.7264, allocations: 8 kB / 1.562 GB, free: 456 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.7264, allocations: 11.94 kB / 1.562 GB, free: 444 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.7283, allocations: 435.8 kB / 1.563 GB, free: 4 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.7296, allocations: 279.6 kB / 1.563 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.7321, allocations: 1.503 MB / 1.564 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/0.7353, allocations: 370.5 kB / 1.565 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.7355, allocations: 59.97 kB / 1.565 GB, free: 13.75 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.001158/0.7366, allocations: 467.4 kB / 1.565 GB, free: 13.29 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007246/0.7374, allocations: 262.3 kB / 1.565 GB, free: 13.03 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/0.7416, allocations: 1.506 MB / 1.567 GB, free: 11.51 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.7416, allocations: 8 kB / 1.567 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7417, allocations: 4 kB / 1.567 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.7417, allocations: 3.984 kB / 1.567 GB, free: 11.49 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.7508, allocations: 3.583 MB / 1.57 GB, free: 7.805 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.7508, allocations: 4 kB / 1.57 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.7515, allocations: 140.1 kB / 1.571 GB, free: 7.664 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/0.7531, allocations: 410.9 kB / 1.571 GB, free: 7.258 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.334e-05/0.7532, allocations: 31.97 kB / 1.571 GB, free: 7.227 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.7561, allocations: 1.565 MB / 1.573 GB, free: 5.609 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.7561, allocations: 4 kB / 1.573 GB, free: 5.605 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.7628, allocations: 1.965 MB / 1.574 GB, free: 3.574 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7641, allocations: 415.9 kB / 1.575 GB, free: 3.168 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.7645, allocations: 20 kB / 1.575 GB, free: 3.148 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/0.7662, allocations: 139.8 kB / 1.575 GB, free: 3.012 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7663, allocations: 67.77 kB / 1.575 GB, free: 2.945 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/0.7664, allocations: 35.97 kB / 1.575 GB, free: 2.91 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003334/0.7697, allocations: 1.758 MB / 1.577 GB, free: 1.148 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7697, allocations: 0 / 1.577 GB, free: 1.148 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002452/0.7722, allocations: 0.7018 MB / 1.578 GB, free: 456 kB / 1.264 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.008146/0.7803, allocations: 2.993 MB / 1.58 GB, free: 13.38 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.004553/0.7849, allocations: 1.326 MB / 1.582 GB, free: 12.05 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7849, allocations: 0 / 1.582 GB, free: 12.05 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.7874, allocations: 0.6407 MB / 1.582 GB, free: 11.41 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006522/0.7939, allocations: 1.318 MB / 1.584 GB, free: 10.11 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/0.8323, allocations: 16.81 MB / 1.6 GB, free: 8.816 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.8336, allocations: 1.494 MB / 1.602 GB, free: 7.293 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001913/0.8355, allocations: 428.6 kB / 1.602 GB, free: 6.871 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/0.8369, allocations: 0.9015 MB / 1.603 GB, free: 5.969 MB / 1.295 GB Notification: Performance of SimCode: time 1.072e-06/0.8369, allocations: 7.938 kB / 1.603 GB, free: 5.961 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7935/1.63, allocations: 67.01 MB / 1.668 GB, free: 228.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/20.38, allocations: 0 / 1.668 GB, free: 228.5 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.72282499499852]