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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0073/0.0073, allocations: 104.4 kB / 15.74 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.001631/0.001631, allocations: 195.4 kB / 16.68 MB, free: 5.957 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.783, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1232/0.9062, allocations: 132.2 MB / 1.336 GB, free: 8.848 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0307/0.937, allocations: 23.21 MB / 1.359 GB, free: 1.578 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004547/0.9416, allocations: 123.2 kB / 1.359 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004471/0.9461, allocations: 1.498 MB / 1.361 GB, free: 15.95 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/0.9584, allocations: 4.1 MB / 1.365 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005737/0.9642, allocations: 2.168 MB / 1.367 GB, free: 9.68 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009244/0.9734, allocations: 6.524 MB / 1.373 GB, free: 3.145 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/0.9774, allocations: 2.349 MB / 1.375 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.9841, allocations: 2.797 MB / 1.378 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003853/0.988, allocations: 1.878 MB / 1.38 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0008935/0.9889, allocations: 247.9 kB / 1.38 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005046/0.994, allocations: 1.938 MB / 1.382 GB, free: 9.863 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000965/0.995, allocations: 0.5914 MB / 1.383 GB, free: 9.27 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002646/0.9976, allocations: 1.458 MB / 1.384 GB, free: 7.805 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007803/1.005, allocations: 4.355 MB / 1.388 GB, free: 3.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.006, allocations: 3.938 kB / 1.388 GB, free: 3.434 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.475e-06/1.006, allocations: 0 / 1.388 GB, free: 3.434 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001038/1.006, allocations: 0 / 1.388 GB, free: 3.434 MB / 1.107 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.006815/1.012, allocations: 3.16 MB / 1.391 GB, free: 192 kB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.013, allocations: 12.03 kB / 1.392 GB, free: 180 kB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000392/1.013, allocations: 216 kB / 1.392 GB, free: 15.95 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/1.018, allocations: 0.8436 MB / 1.393 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005201/1.023, allocations: 2.322 MB / 1.395 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.023, allocations: 127 kB / 1.395 GB, free: 12.58 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/1.023, allocations: 160 kB / 1.395 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/1.027, allocations: 1.926 MB / 1.397 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/1.027, allocations: 4 kB / 1.397 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.028, allocations: 60 kB / 1.397 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/1.028, allocations: 43.94 kB / 1.397 GB, free: 10.33 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/1.032, allocations: 1.784 MB / 1.399 GB, free: 8.543 MB / 1.123 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.01727/1.05, allocations: 8.973 MB / 1.408 GB, free: 14.97 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006751/1.056, allocations: 1.189 MB / 1.409 GB, free: 13.76 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/1.058, allocations: 461.4 kB / 1.409 GB, free: 13.3 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/1.06, allocations: 1.719 MB / 1.411 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/1.06, allocations: 46.5 kB / 1.411 GB, free: 11.14 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 5.09e-06/1.06, allocations: 0 / 1.411 GB, free: 11.14 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.01406/1.074, allocations: 2.326 MB / 1.413 GB, free: 8.766 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.074, allocations: 85.11 kB / 1.413 GB, free: 8.664 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006922/1.081, allocations: 2.496 MB / 1.416 GB, free: 6.148 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/1.082, allocations: 45.7 kB / 1.416 GB, free: 6.098 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.083, allocations: 1.038 MB / 1.417 GB, free: 5.051 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005282/1.084, allocations: 272.1 kB / 1.417 GB, free: 4.781 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000722/1.084, allocations: 254.6 kB / 1.417 GB, free: 4.523 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.085, allocations: 349.9 kB / 1.418 GB, free: 4.176 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/1.087, allocations: 0.5724 MB / 1.418 GB, free: 3.605 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002874/1.09, allocations: 0.9504 MB / 1.419 GB, free: 2.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.094, allocations: 1.252 MB / 1.42 GB, free: 1.145 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.094, allocations: 4 kB / 1.42 GB, free: 1.141 MB / 1.139 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006816/1.101, allocations: 2.017 MB / 1.422 GB, free: 15.11 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.101, allocations: 8 kB / 1.422 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/1.101, allocations: 8 kB / 1.422 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/1.103, allocations: 417.3 kB / 1.423 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.104, allocations: 279.6 kB / 1.423 GB, free: 14.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/1.106, allocations: 1.505 MB / 1.424 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.109, allocations: 366 kB / 1.425 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/1.109, allocations: 59.97 kB / 1.425 GB, free: 12.43 MB / 1.154 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.001029/1.11, allocations: 468.1 kB / 1.425 GB, free: 11.97 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/1.111, allocations: 256.9 kB / 1.426 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.115, allocations: 1.494 MB / 1.427 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/1.115, allocations: 12 kB / 1.427 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.115, allocations: 7.922 kB / 1.427 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.115, allocations: 3.984 kB / 1.427 GB, free: 10.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008504/1.124, allocations: 3.604 MB / 1.431 GB, free: 6.461 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.124, allocations: 4 kB / 1.431 GB, free: 6.457 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.124, allocations: 136.1 kB / 1.431 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/1.126, allocations: 408.1 kB / 1.431 GB, free: 5.922 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/1.126, allocations: 31.98 kB / 1.431 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/1.129, allocations: 1.569 MB / 1.433 GB, free: 4.27 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.129, allocations: 4 kB / 1.433 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/1.135, allocations: 1.935 MB / 1.434 GB, free: 2.262 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.136, allocations: 493.5 kB / 1.435 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/1.137, allocations: 16 kB / 1.435 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.139, allocations: 139.8 kB / 1.435 GB, free: 1.605 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.139, allocations: 59.86 kB / 1.435 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.139, allocations: 35.97 kB / 1.435 GB, free: 1.512 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003528/1.143, allocations: 1.75 MB / 1.437 GB, free: 15.76 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.21e-07/1.143, allocations: 3.938 kB / 1.437 GB, free: 15.75 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002715/1.146, allocations: 0.6867 MB / 1.438 GB, free: 15.07 MB / 1.17 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.007906/1.154, allocations: 2.999 MB / 1.441 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00437/1.158, allocations: 1.349 MB / 1.442 GB, free: 10.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.158, allocations: 96 / 1.442 GB, free: 10.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002435/1.16, allocations: 0.6758 MB / 1.442 GB, free: 9.98 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006878/1.167, allocations: 1.33 MB / 1.444 GB, free: 8.668 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/1.206, allocations: 16.66 MB / 1.46 GB, free: 7.531 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.207, allocations: 1.486 MB / 1.462 GB, free: 6.016 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002046/1.209, allocations: 436.5 kB / 1.462 GB, free: 5.586 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.211, allocations: 0.9015 MB / 1.463 GB, free: 4.684 MB / 1.186 GB Notification: Performance of SimCode: time 1.332e-06/1.211, allocations: 0 / 1.463 GB, free: 4.684 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.32, allocations: 67.16 MB / 1.528 GB, free: 2.332 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.25, allocations: 13.41 kB / 1.528 GB, free: 2.32 MB / 1.248 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) 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) Reference file matches