Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008791/0.008797, allocations: 100.8 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 193.8 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 59.84 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8784, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1259/1.004, allocations: 132.3 MB / 1.295 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03335/1.038, allocations: 23.21 MB / 1.318 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005705/1.043, allocations: 127.2 kB / 1.318 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005222/1.049, allocations: 1.522 MB / 1.32 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/1.063, allocations: 4.326 MB / 1.324 GB, free: 1.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006107/1.069, allocations: 2.17 MB / 1.326 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009726/1.078, allocations: 6.548 MB / 1.332 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004353/1.083, allocations: 2.349 MB / 1.335 GB, free: 6.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006517/1.089, allocations: 2.819 MB / 1.337 GB, free: 3.859 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/1.093, allocations: 1.878 MB / 1.339 GB, free: 1.973 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008398/1.094, allocations: 244 kB / 1.339 GB, free: 1.734 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/1.099, allocations: 1.938 MB / 1.341 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001008/1.1, allocations: 0.5914 MB / 1.342 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002679/1.102, allocations: 1.458 MB / 1.343 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007816/1.11, allocations: 4.351 MB / 1.348 GB, free: 9.371 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.11, allocations: 3.984 kB / 1.348 GB, free: 9.367 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.11, allocations: 0 / 1.348 GB, free: 9.367 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001203/1.11, allocations: 0 / 1.348 GB, free: 9.367 MB / 1.076 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.006713/1.117, allocations: 3.16 MB / 1.351 GB, free: 6.121 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/1.117, allocations: 8.625 kB / 1.351 GB, free: 6.113 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002578/1.117, allocations: 224 kB / 1.351 GB, free: 5.883 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/1.122, allocations: 0.8397 MB / 1.352 GB, free: 5.039 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/1.126, allocations: 2.323 MB / 1.354 GB, free: 2.641 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/1.126, allocations: 131 kB / 1.354 GB, free: 2.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/1.127, allocations: 160 kB / 1.354 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/1.131, allocations: 1.919 MB / 1.356 GB, free: 380 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.131, allocations: 7.938 kB / 1.356 GB, free: 372 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.131, allocations: 60 kB / 1.356 GB, free: 312 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/1.131, allocations: 43.94 kB / 1.356 GB, free: 268 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00471/1.136, allocations: 1.792 MB / 1.358 GB, free: 14.46 MB / 1.092 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.01397/1.15, allocations: 8.965 MB / 1.367 GB, free: 4.898 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/1.154, allocations: 1.194 MB / 1.368 GB, free: 3.688 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.155, allocations: 462.2 kB / 1.368 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.156, allocations: 1.726 MB / 1.37 GB, free: 1.117 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/1.156, allocations: 42.55 kB / 1.37 GB, free: 1.066 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 2.464e-06/1.156, allocations: 4 kB / 1.37 GB, free: 1.062 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008463/1.165, allocations: 2.321 MB / 1.372 GB, free: 14.69 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.165, allocations: 85.11 kB / 1.372 GB, free: 14.59 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/1.169, allocations: 2.496 MB / 1.375 GB, free: 12.07 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/1.169, allocations: 41.7 kB / 1.375 GB, free: 12.02 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/1.17, allocations: 1.041 MB / 1.376 GB, free: 10.97 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/1.171, allocations: 268.1 kB / 1.376 GB, free: 10.71 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/1.171, allocations: 254.6 kB / 1.376 GB, free: 10.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.171, allocations: 345.9 kB / 1.377 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/1.173, allocations: 0.5764 MB / 1.377 GB, free: 9.531 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/1.175, allocations: 0.9543 MB / 1.378 GB, free: 8.426 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/1.178, allocations: 1.244 MB / 1.379 GB, free: 7.078 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.178, allocations: 0 / 1.379 GB, free: 7.078 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00639/1.184, allocations: 2.02 MB / 1.381 GB, free: 5.039 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.184, allocations: 8 kB / 1.381 GB, free: 5.031 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/1.184, allocations: 8 kB / 1.381 GB, free: 5.023 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/1.186, allocations: 421.5 kB / 1.382 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.187, allocations: 279.5 kB / 1.382 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/1.189, allocations: 1.509 MB / 1.384 GB, free: 2.773 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/1.192, allocations: 362 kB / 1.384 GB, free: 2.418 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/1.192, allocations: 63.97 kB / 1.384 GB, free: 2.355 MB / 1.107 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.00151/1.194, allocations: 461.8 kB / 1.384 GB, free: 1.895 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.195, allocations: 253 kB / 1.385 GB, free: 1.645 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/1.2, allocations: 1.49 MB / 1.386 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.2, allocations: 15.98 kB / 1.386 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.2, allocations: 0 / 1.386 GB, free: 116 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.2, allocations: 3.984 kB / 1.386 GB, free: 112 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/1.208, allocations: 3.614 MB / 1.39 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.208, allocations: 4 kB / 1.39 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/1.209, allocations: 128.2 kB / 1.39 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.211, allocations: 413.2 kB / 1.39 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/1.211, allocations: 27.98 kB / 1.39 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/1.213, allocations: 1.573 MB / 1.392 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.213, allocations: 0 / 1.392 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.22, allocations: 1.931 MB / 1.394 GB, free: 8.199 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.221, allocations: 497.5 kB / 1.394 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007468/1.222, allocations: 20 kB / 1.394 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.224, allocations: 131.8 kB / 1.394 GB, free: 7.543 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.224, allocations: 63.8 kB / 1.394 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.225, allocations: 39.97 kB / 1.394 GB, free: 7.441 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003909/1.228, allocations: 1.75 MB / 1.396 GB, free: 5.688 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.51e-07/1.228, allocations: 96 / 1.396 GB, free: 5.688 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002698/1.231, allocations: 0.6905 MB / 1.397 GB, free: 4.996 MB / 1.123 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.007718/1.239, allocations: 2.987 MB / 1.4 GB, free: 1.941 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004317/1.243, allocations: 1.362 MB / 1.401 GB, free: 0.582 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.243, allocations: 0 / 1.401 GB, free: 0.582 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.246, allocations: 0.6651 MB / 1.402 GB, free: 15.91 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/1.252, allocations: 1.325 MB / 1.403 GB, free: 14.61 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03909/1.291, allocations: 16.67 MB / 1.419 GB, free: 13.47 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.293, allocations: 1.49 MB / 1.421 GB, free: 11.95 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002026/1.295, allocations: 428.6 kB / 1.421 GB, free: 11.52 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.297, allocations: 0.9053 MB / 1.422 GB, free: 10.62 MB / 1.154 GB Notification: Performance of SimCode: time 8.31e-07/1.297, allocations: 0 / 1.422 GB, free: 10.62 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.409, allocations: 65.88 MB / 1.486 GB, free: 9.438 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.51/17.92, allocations: 9.609 kB / 1.486 GB, free: 9.434 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches