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.001589/0.001589, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001879/0.001879, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.919/2.919, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_12_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.002305/0.002305, allocations: 67.88 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9054, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1407/1.046, allocations: 133.9 MB / 1.452 GB, free: 8.746 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04143/1.088, allocations: 23.27 MB / 1.475 GB, free: 6.199 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007309/1.095, allocations: 172.7 kB / 1.475 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006248/1.101, allocations: 1.541 MB / 1.477 GB, free: 4.801 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0158/1.117, allocations: 4.312 MB / 1.481 GB, free: 1.375 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007154/1.124, allocations: 2.176 MB / 1.483 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01355/1.138, allocations: 6.513 MB / 1.489 GB, free: 11.78 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/1.143, allocations: 1.917 MB / 1.491 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0114/1.154, allocations: 3.091 MB / 1.494 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/1.16, allocations: 1.934 MB / 1.496 GB, free: 6.562 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/1.161, allocations: 244 kB / 1.496 GB, free: 6.324 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/1.168, allocations: 2.012 MB / 1.498 GB, free: 4.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/1.169, allocations: 0.6185 MB / 1.499 GB, free: 3.688 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003554/1.173, allocations: 1.462 MB / 1.5 GB, free: 2.219 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.184, allocations: 4.461 MB / 1.505 GB, free: 13.74 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/1.184, allocations: 4 kB / 1.505 GB, free: 13.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.104e-06/1.184, allocations: 0 / 1.505 GB, free: 13.73 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001439/1.184, allocations: 0 / 1.505 GB, free: 13.73 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.008566/1.192, allocations: 3.269 MB / 1.508 GB, free: 10.38 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.192, allocations: 11.98 kB / 1.508 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.493e-05/1.193, allocations: 43.23 kB / 1.508 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005276/1.193, allocations: 220 kB / 1.508 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/1.199, allocations: 0.8528 MB / 1.509 GB, free: 9.242 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006781/1.205, allocations: 2.372 MB / 1.511 GB, free: 6.797 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/1.206, allocations: 123 kB / 1.511 GB, free: 6.676 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000508/1.206, allocations: 160 kB / 1.512 GB, free: 6.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005483/1.212, allocations: 1.923 MB / 1.513 GB, free: 4.531 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/1.212, allocations: 3.938 kB / 1.513 GB, free: 4.527 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/1.212, allocations: 63.94 kB / 1.514 GB, free: 4.465 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.212, allocations: 40 kB / 1.514 GB, free: 4.426 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/1.218, allocations: 1.792 MB / 1.515 GB, free: 2.633 MB / 1.186 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.01592/1.233, allocations: 8.983 MB / 1.524 GB, free: 9.047 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004852/1.238, allocations: 1.148 MB / 1.525 GB, free: 7.887 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/1.24, allocations: 430.2 kB / 1.526 GB, free: 7.461 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.241, allocations: 1.726 MB / 1.527 GB, free: 5.348 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/1.241, allocations: 42.56 kB / 1.527 GB, free: 5.297 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 4.779e-06/1.241, allocations: 3.938 kB / 1.527 GB, free: 5.293 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.01048/1.252, allocations: 2.336 MB / 1.53 GB, free: 2.906 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/1.252, allocations: 85.11 kB / 1.53 GB, free: 2.805 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005478/1.257, allocations: 2.509 MB / 1.532 GB, free: 284 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/1.258, allocations: 45.7 kB / 1.532 GB, free: 232 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.259, allocations: 1.051 MB / 1.533 GB, free: 15.17 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/1.259, allocations: 277.6 kB / 1.534 GB, free: 14.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006104/1.26, allocations: 258.8 kB / 1.534 GB, free: 14.64 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002467/1.26, allocations: 345.9 kB / 1.534 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/1.262, allocations: 0.5725 MB / 1.535 GB, free: 13.72 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/1.265, allocations: 0.9465 MB / 1.536 GB, free: 12.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/1.268, allocations: 1.252 MB / 1.537 GB, free: 11.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.268, allocations: 11.94 kB / 1.537 GB, free: 11.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00751/1.276, allocations: 2.022 MB / 1.539 GB, free: 9.219 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/1.276, allocations: 12 kB / 1.539 GB, free: 9.207 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/1.276, allocations: 8 kB / 1.539 GB, free: 9.199 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/1.278, allocations: 417.6 kB / 1.539 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/1.279, allocations: 283.5 kB / 1.539 GB, free: 8.508 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.282, allocations: 1.496 MB / 1.541 GB, free: 6.961 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.285, allocations: 374.5 kB / 1.541 GB, free: 6.594 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/1.285, allocations: 55.97 kB / 1.541 GB, free: 6.539 MB / 1.217 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.001051/1.286, allocations: 474 kB / 1.542 GB, free: 6.066 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/1.287, allocations: 262.3 kB / 1.542 GB, free: 5.809 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.291, allocations: 1.487 MB / 1.543 GB, free: 4.301 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/1.291, allocations: 11.98 kB / 1.544 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.291, allocations: 0 / 1.544 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.291, allocations: 7.984 kB / 1.544 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00887/1.3, allocations: 3.604 MB / 1.547 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.3, allocations: 4 kB / 1.547 GB, free: 0.5625 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/1.3, allocations: 128.2 kB / 1.547 GB, free: 448 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/1.302, allocations: 421.1 kB / 1.548 GB, free: 20 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.302, allocations: 24.03 kB / 1.548 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/1.305, allocations: 1.576 MB / 1.549 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.305, allocations: 4 kB / 1.549 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/1.312, allocations: 1.937 MB / 1.551 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.314, allocations: 0.4911 MB / 1.551 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005933/1.314, allocations: 20 kB / 1.552 GB, free: 11.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.316, allocations: 135.8 kB / 1.552 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.317, allocations: 59.8 kB / 1.552 GB, free: 11.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/1.317, allocations: 43.97 kB / 1.552 GB, free: 11.6 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00413/1.321, allocations: 1.754 MB / 1.553 GB, free: 9.84 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.321, allocations: 4 kB / 1.553 GB, free: 9.836 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002493/1.323, allocations: 0.6979 MB / 1.554 GB, free: 9.137 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.008226/1.332, allocations: 2.975 MB / 1.557 GB, free: 6.086 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004755/1.336, allocations: 1.306 MB / 1.558 GB, free: 4.785 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.336, allocations: 0 / 1.558 GB, free: 4.785 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.339, allocations: 0.63 MB / 1.559 GB, free: 4.156 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006942/1.346, allocations: 1.329 MB / 1.56 GB, free: 2.844 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/1.387, allocations: 16.78 MB / 1.577 GB, free: 1.574 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.389, allocations: 1.49 MB / 1.578 GB, free: 56 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002035/1.391, allocations: 432.5 kB / 1.578 GB, free: 15.63 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/1.392, allocations: 0.9015 MB / 1.579 GB, free: 14.73 MB / 1.264 GB Notification: Performance of SimCode: time 8.51e-07/1.392, allocations: 0 / 1.579 GB, free: 14.73 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.523, allocations: 66.15 MB / 1.644 GB, free: 13.37 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.32/19.84, allocations: 15.75 kB / 1.644 GB, free: 13.35 MB / 1.326 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.556782016996294]