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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 70.45 kB / 1.134 GB, free: 33.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 173.9 MB / 1.304 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1454/0.4592, allocations: 133.4 MB / 1.434 GB, free: 11.61 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0358/0.495, allocations: 23.28 MB / 1.457 GB, free: 4.27 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.4999, allocations: 123.2 kB / 1.457 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004962/0.5049, allocations: 1.541 MB / 1.459 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.5174, allocations: 4.307 MB / 1.463 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.5235, allocations: 2.175 MB / 1.465 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.5336, allocations: 6.502 MB / 1.471 GB, free: 5.598 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003951/0.5375, allocations: 1.902 MB / 1.473 GB, free: 3.633 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008087/0.5456, allocations: 3.063 MB / 1.476 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004369/0.55, allocations: 1.927 MB / 1.478 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009095/0.5509, allocations: 248 kB / 1.478 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004961/0.5558, allocations: 1.973 MB / 1.48 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008799/0.5567, allocations: 0.6107 MB / 1.481 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002657/0.5594, allocations: 1.462 MB / 1.482 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008071/0.5674, allocations: 4.379 MB / 1.486 GB, free: 5.938 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5675, allocations: 0 / 1.486 GB, free: 5.938 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5675, allocations: 4 kB / 1.486 GB, free: 5.934 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001052/0.5676, allocations: 3.938 kB / 1.486 GB, free: 5.93 MB / 1.186 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.007139/0.5747, allocations: 3.243 MB / 1.49 GB, free: 2.598 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5747, allocations: 12.92 kB / 1.49 GB, free: 2.586 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003963/0.5751, allocations: 224 kB / 1.49 GB, free: 2.355 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.5799, allocations: 0.8491 MB / 1.491 GB, free: 1.504 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/0.5859, allocations: 2.355 MB / 1.493 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.5861, allocations: 127 kB / 1.493 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.5865, allocations: 160 kB / 1.493 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004886/0.5914, allocations: 1.929 MB / 1.495 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.5914, allocations: 0 / 1.495 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.5916, allocations: 64 kB / 1.495 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/0.5917, allocations: 39.94 kB / 1.495 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/0.5971, allocations: 1.784 MB / 1.497 GB, free: 10.92 MB / 1.201 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.0164/0.6135, allocations: 8.987 MB / 1.506 GB, free: 1.328 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.6179, allocations: 1.141 MB / 1.507 GB, free: 180 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.6191, allocations: 437.5 kB / 1.507 GB, free: 15.74 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.6205, allocations: 1.722 MB / 1.509 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.6205, allocations: 46.56 kB / 1.509 GB, free: 13.58 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.6205, allocations: 0 / 1.509 GB, free: 13.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.009224/0.6298, allocations: 2.33 MB / 1.511 GB, free: 11.2 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6298, allocations: 84.86 kB / 1.511 GB, free: 11.09 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.6345, allocations: 2.497 MB / 1.514 GB, free: 8.578 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.6347, allocations: 45.7 kB / 1.514 GB, free: 8.527 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.6358, allocations: 1.047 MB / 1.515 GB, free: 7.473 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.6362, allocations: 285.6 kB / 1.515 GB, free: 7.191 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.6367, allocations: 258.7 kB / 1.515 GB, free: 6.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6369, allocations: 345.9 kB / 1.516 GB, free: 6.586 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.6387, allocations: 0.5725 MB / 1.516 GB, free: 6.016 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.6409, allocations: 0.9543 MB / 1.517 GB, free: 4.91 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.6441, allocations: 1.252 MB / 1.518 GB, free: 3.551 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.6441, allocations: 4 kB / 1.518 GB, free: 3.547 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007086/0.6512, allocations: 2.018 MB / 1.52 GB, free: 1.512 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.6513, allocations: 12.09 kB / 1.52 GB, free: 1.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6513, allocations: 8 kB / 1.52 GB, free: 1.492 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001764/0.653, allocations: 421.2 kB / 1.521 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.6544, allocations: 283.6 kB / 1.521 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.6568, allocations: 1.499 MB / 1.523 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.6597, allocations: 374.5 kB / 1.523 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.6599, allocations: 59.97 kB / 1.523 GB, free: 14.82 MB / 1.232 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.0009995/0.6609, allocations: 461.3 kB / 1.523 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006247/0.6615, allocations: 262.3 kB / 1.524 GB, free: 14.1 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.6655, allocations: 1.494 MB / 1.525 GB, free: 12.59 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.6655, allocations: 15.98 kB / 1.525 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6655, allocations: 0 / 1.525 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6655, allocations: 3.984 kB / 1.525 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008746/0.6743, allocations: 3.595 MB / 1.529 GB, free: 8.859 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6743, allocations: 4 kB / 1.529 GB, free: 8.855 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.675, allocations: 136.2 kB / 1.529 GB, free: 8.723 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.6767, allocations: 413.2 kB / 1.529 GB, free: 8.312 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.6768, allocations: 27.98 kB / 1.529 GB, free: 8.285 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.6796, allocations: 1.57 MB / 1.531 GB, free: 6.664 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6796, allocations: 4 kB / 1.531 GB, free: 6.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/0.686, allocations: 1.937 MB / 1.533 GB, free: 4.664 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.6873, allocations: 0.4989 MB / 1.533 GB, free: 4.145 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/0.6877, allocations: 20 kB / 1.533 GB, free: 4.125 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.6895, allocations: 131.8 kB / 1.533 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6896, allocations: 55.86 kB / 1.533 GB, free: 3.941 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6897, allocations: 43.97 kB / 1.533 GB, free: 3.898 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003391/0.6931, allocations: 1.746 MB / 1.535 GB, free: 2.148 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6931, allocations: 0 / 1.535 GB, free: 2.148 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002328/0.6954, allocations: 0.6941 MB / 1.536 GB, free: 1.453 MB / 1.232 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.007806/0.7032, allocations: 3.009 MB / 1.539 GB, free: 14.38 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004309/0.7075, allocations: 1.303 MB / 1.54 GB, free: 13.08 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7075, allocations: 0 / 1.54 GB, free: 13.08 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.71, allocations: 0.6376 MB / 1.541 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/0.7162, allocations: 1.334 MB / 1.542 GB, free: 11.13 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03943/0.7556, allocations: 16.73 MB / 1.558 GB, free: 9.914 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.7569, allocations: 1.497 MB / 1.56 GB, free: 8.387 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002006/0.759, allocations: 424.6 kB / 1.56 GB, free: 7.969 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.7605, allocations: 0.8976 MB / 1.561 GB, free: 7.074 MB / 1.264 GB Notification: Performance of SimCode: time 1.393e-06/0.7605, allocations: 0 / 1.561 GB, free: 7.074 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7406/1.501, allocations: 66.09 MB / 1.626 GB, free: 297.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.86/19.37, allocations: 8.75 kB / 1.626 GB, free: 297.1 MB / 1.311 GB " [Timeout remaining time 280] (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_2/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: 25.984297533985227]