Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001621/0.001621, allocations: 101.5 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.001395/0.001395, allocations: 218.1 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.459/1.459, 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.777/2.777, allocations: 476.7 MB / 0.7715 GB, free: 4.301 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.CarnotVerifyCOP,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_11_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.002014/0.002014, allocations: 68.22 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 170 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1487/0.4992, allocations: 135 MB / 1.416 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03621/0.5354, allocations: 23.34 MB / 1.439 GB, free: 12.92 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004619/0.54, allocations: 170.5 kB / 1.439 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005308/0.5453, allocations: 1.545 MB / 1.44 GB, free: 11.2 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.5575, allocations: 4.389 MB / 1.445 GB, free: 6.793 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.564, allocations: 2.259 MB / 1.447 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.575, allocations: 6.594 MB / 1.453 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.5789, allocations: 1.84 MB / 1.455 GB, free: 12.04 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007207/0.5861, allocations: 2.874 MB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.59, allocations: 1.964 MB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0008312/0.5909, allocations: 247.9 kB / 1.46 GB, free: 6.941 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006864/0.5977, allocations: 2.07 MB / 1.462 GB, free: 4.867 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.5991, allocations: 0.6146 MB / 1.463 GB, free: 4.25 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003421/0.6025, allocations: 1.458 MB / 1.464 GB, free: 2.785 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.6131, allocations: 4.438 MB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.6131, allocations: 3.938 kB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6131, allocations: 4 kB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001569/0.6133, allocations: 0 / 1.469 GB, free: 14.32 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.008966/0.6223, allocations: 3.178 MB / 1.472 GB, free: 11.08 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.6223, allocations: 8.031 kB / 1.472 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.116e-05/0.6224, allocations: 39.23 kB / 1.472 GB, free: 11.03 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000458/0.6228, allocations: 224 kB / 1.472 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.6276, allocations: 0.8567 MB / 1.473 GB, free: 9.941 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005971/0.6336, allocations: 2.276 MB / 1.475 GB, free: 7.578 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.6337, allocations: 123 kB / 1.475 GB, free: 7.457 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.6341, allocations: 164 kB / 1.475 GB, free: 7.297 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005308/0.6395, allocations: 1.919 MB / 1.477 GB, free: 5.312 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.6395, allocations: 3.938 kB / 1.477 GB, free: 5.309 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000265/0.6398, allocations: 67.94 kB / 1.477 GB, free: 5.242 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.6398, allocations: 40 kB / 1.477 GB, free: 5.203 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005556/0.6454, allocations: 1.784 MB / 1.479 GB, free: 3.418 MB / 1.17 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.01625/0.6616, allocations: 8.83 MB / 1.488 GB, free: 10 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004663/0.6663, allocations: 1.148 MB / 1.489 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.6676, allocations: 426.2 kB / 1.489 GB, free: 8.418 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005814/0.6681, allocations: 175.6 kB / 1.489 GB, free: 8.246 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6682, allocations: 42.56 kB / 1.489 GB, free: 8.195 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.367e-06/0.6682, allocations: 0 / 1.489 GB, free: 8.195 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009767/0.678, allocations: 2.177 MB / 1.491 GB, free: 6.004 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.678, allocations: 92.86 kB / 1.492 GB, free: 5.895 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/0.6836, allocations: 2.497 MB / 1.494 GB, free: 3.379 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.6838, allocations: 45.7 kB / 1.494 GB, free: 3.328 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.685, allocations: 1.054 MB / 1.495 GB, free: 2.266 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.6854, allocations: 281.6 kB / 1.495 GB, free: 1.988 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006289/0.6861, allocations: 258.7 kB / 1.496 GB, free: 1.73 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.6863, allocations: 349.9 kB / 1.496 GB, free: 1.383 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.6881, allocations: 0.5763 MB / 1.496 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.6904, allocations: 0.9543 MB / 1.497 GB, free: 15.7 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.6937, allocations: 1.244 MB / 1.499 GB, free: 14.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.6937, allocations: 4 kB / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007328/0.701, allocations: 2.025 MB / 1.501 GB, free: 12.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.7011, allocations: 9.875 kB / 1.501 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.7011, allocations: 8 kB / 1.501 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.703, allocations: 417.9 kB / 1.501 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7043, allocations: 279.5 kB / 1.501 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.7069, allocations: 1.517 MB / 1.503 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.7101, allocations: 358.6 kB / 1.503 GB, free: 9.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002628/0.7103, allocations: 63.97 kB / 1.503 GB, free: 9.617 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 (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.00144/0.7118, allocations: 465.4 kB / 1.504 GB, free: 9.152 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/0.7128, allocations: 266.2 kB / 1.504 GB, free: 8.891 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/0.7176, allocations: 1.502 MB / 1.505 GB, free: 7.375 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.7176, allocations: 19.92 kB / 1.505 GB, free: 7.355 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.7177, allocations: 0 / 1.505 GB, free: 7.355 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7177, allocations: 7.922 kB / 1.505 GB, free: 7.348 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/0.7272, allocations: 3.578 MB / 1.509 GB, free: 3.664 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.7272, allocations: 4.375 kB / 1.509 GB, free: 3.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.7279, allocations: 131.8 kB / 1.509 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.7294, allocations: 409.2 kB / 1.509 GB, free: 3.125 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/0.7295, allocations: 27.98 kB / 1.509 GB, free: 3.098 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.7324, allocations: 1.569 MB / 1.511 GB, free: 1.477 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7324, allocations: 4.031 kB / 1.511 GB, free: 1.473 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.7389, allocations: 1.946 MB / 1.513 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.7403, allocations: 431.7 kB / 1.513 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/0.7409, allocations: 23.95 kB / 1.513 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.7429, allocations: 131.8 kB / 1.513 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.7431, allocations: 71.77 kB / 1.513 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7432, allocations: 35.97 kB / 1.513 GB, free: 14.78 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004016/0.7472, allocations: 1.757 MB / 1.515 GB, free: 13.02 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7472, allocations: 0 / 1.515 GB, free: 13.02 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002689/0.7499, allocations: 0.6902 MB / 1.516 GB, free: 12.33 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 (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.008339/0.7582, allocations: 2.996 MB / 1.519 GB, free: 9.258 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004694/0.7629, allocations: 1.319 MB / 1.52 GB, free: 7.938 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7629, allocations: 0 / 1.52 GB, free: 7.938 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.7655, allocations: 0.6369 MB / 1.521 GB, free: 7.301 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007621/0.7731, allocations: 1.328 MB / 1.522 GB, free: 5.988 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04391/0.817, allocations: 16.76 MB / 1.538 GB, free: 4.758 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.8187, allocations: 1.493 MB / 1.54 GB, free: 3.234 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002148/0.8208, allocations: 432.5 kB / 1.54 GB, free: 2.809 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/0.8224, allocations: 0.9054 MB / 1.541 GB, free: 1.902 MB / 1.232 GB Notification: Performance of SimCode: time 1.222e-06/0.8224, allocations: 0 / 1.541 GB, free: 1.902 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7732/1.596, allocations: 66.92 MB / 1.606 GB, free: 314.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/19.62, allocations: 3.062 kB / 1.606 GB, free: 314.6 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.403860022954177]