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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006902/0.006902, allocations: 95.92 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.001661/0.001661, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2889, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6798/0.9688, allocations: 132.3 MB / 1.349 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03367/1.002, allocations: 23.21 MB / 1.372 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005097/1.008, allocations: 124.9 kB / 1.372 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/1.012, allocations: 1.531 MB / 1.373 GB, free: 11.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/1.024, allocations: 4.317 MB / 1.377 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005737/1.03, allocations: 2.164 MB / 1.38 GB, free: 6.711 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009574/1.039, allocations: 6.556 MB / 1.386 GB, free: 2.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/1.043, allocations: 2.351 MB / 1.388 GB, free: 1.293 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006741/1.049, allocations: 2.819 MB / 1.391 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/1.053, allocations: 1.88 MB / 1.393 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/1.053, allocations: 245.9 kB / 1.393 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004846/1.058, allocations: 1.934 MB / 1.395 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000656/1.059, allocations: 0.5923 MB / 1.396 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002038/1.061, allocations: 1.47 MB / 1.397 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/1.068, allocations: 4.36 MB / 1.401 GB, free: 8.973 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.068, allocations: 0 / 1.401 GB, free: 8.973 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.924e-06/1.068, allocations: 0 / 1.401 GB, free: 8.973 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.772e-05/1.068, allocations: 0 / 1.401 GB, free: 8.973 MB / 1.092 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.00584/1.074, allocations: 3.255 MB / 1.404 GB, free: 6.523 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.074, allocations: 12.89 kB / 1.404 GB, free: 6.52 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/1.074, allocations: 223.1 kB / 1.405 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/1.079, allocations: 0.8481 MB / 1.405 GB, free: 5.945 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/1.083, allocations: 2.346 MB / 1.408 GB, free: 4.148 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.083, allocations: 128.9 kB / 1.408 GB, free: 4.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/1.083, allocations: 160.3 kB / 1.408 GB, free: 4.039 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/1.087, allocations: 1.918 MB / 1.41 GB, free: 2.863 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/1.087, allocations: 6.719 kB / 1.41 GB, free: 2.859 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.088, allocations: 61.75 kB / 1.41 GB, free: 2.812 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.088, allocations: 40.38 kB / 1.41 GB, free: 2.809 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/1.092, allocations: 1.787 MB / 1.412 GB, free: 1.375 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.01243/1.105, allocations: 8.976 MB / 1.42 GB, free: 7.801 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004515/1.109, allocations: 1.211 MB / 1.422 GB, free: 6.578 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/1.111, allocations: 455 kB / 1.422 GB, free: 6.129 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.112, allocations: 1.726 MB / 1.424 GB, free: 4.016 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.112, allocations: 42.56 kB / 1.424 GB, free: 3.965 MB / 1.107 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/1.112, allocations: 0 / 1.424 GB, free: 3.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.009229/1.121, allocations: 2.345 MB / 1.426 GB, free: 1.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/1.121, allocations: 85.11 kB / 1.426 GB, free: 1.465 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/1.125, allocations: 2.493 MB / 1.429 GB, free: 14.95 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/1.125, allocations: 41.7 kB / 1.429 GB, free: 14.91 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009141/1.126, allocations: 1.047 MB / 1.43 GB, free: 13.85 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000297/1.127, allocations: 293.5 kB / 1.43 GB, free: 13.56 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004626/1.127, allocations: 254.8 kB / 1.43 GB, free: 13.3 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.127, allocations: 345.9 kB / 1.431 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.129, allocations: 0.5686 MB / 1.431 GB, free: 12.39 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.131, allocations: 0.9582 MB / 1.432 GB, free: 11.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003179/1.135, allocations: 1.244 MB / 1.433 GB, free: 9.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/1.135, allocations: 11.94 kB / 1.433 GB, free: 9.918 MB / 1.123 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006919/1.142, allocations: 2.026 MB / 1.435 GB, free: 7.875 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.142, allocations: 8 kB / 1.435 GB, free: 7.867 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.142, allocations: 8 kB / 1.435 GB, free: 7.859 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/1.143, allocations: 421.8 kB / 1.436 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.145, allocations: 275.5 kB / 1.436 GB, free: 7.172 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/1.147, allocations: 1.51 MB / 1.437 GB, free: 5.613 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.15, allocations: 366.5 kB / 1.438 GB, free: 5.254 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.15, allocations: 59.97 kB / 1.438 GB, free: 5.195 MB / 1.123 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.0008475/1.151, allocations: 469.3 kB / 1.438 GB, free: 4.727 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/1.151, allocations: 262.3 kB / 1.438 GB, free: 4.469 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/1.155, allocations: 1.49 MB / 1.44 GB, free: 2.961 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/1.155, allocations: 16 kB / 1.44 GB, free: 2.945 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.155, allocations: 0 / 1.44 GB, free: 2.945 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.155, allocations: 7.984 kB / 1.44 GB, free: 2.938 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00793/1.163, allocations: 3.612 MB / 1.444 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.163, allocations: 7.938 kB / 1.444 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/1.164, allocations: 132.2 kB / 1.444 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/1.165, allocations: 413.2 kB / 1.444 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/1.165, allocations: 27.98 kB / 1.444 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002674/1.168, allocations: 1.571 MB / 1.446 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.168, allocations: 4.125 kB / 1.446 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00641/1.174, allocations: 1.944 MB / 1.447 GB, free: 11.01 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.176, allocations: 499 kB / 1.448 GB, free: 10.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/1.176, allocations: 27.88 kB / 1.448 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.178, allocations: 131.8 kB / 1.448 GB, free: 10.35 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/1.178, allocations: 59.88 kB / 1.448 GB, free: 10.29 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/1.178, allocations: 43.91 kB / 1.448 GB, free: 10.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002909/1.181, allocations: 1.746 MB / 1.45 GB, free: 8.496 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.51e-07/1.181, allocations: 4 kB / 1.45 GB, free: 8.492 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001961/1.183, allocations: 0.6902 MB / 1.451 GB, free: 7.801 MB / 1.139 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.007446/1.19, allocations: 3.009 MB / 1.454 GB, free: 4.723 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004342/1.195, allocations: 1.345 MB / 1.455 GB, free: 3.379 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.195, allocations: 4 kB / 1.455 GB, free: 3.375 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/1.197, allocations: 0.6614 MB / 1.456 GB, free: 2.715 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006345/1.203, allocations: 1.332 MB / 1.457 GB, free: 1.398 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03422/1.238, allocations: 16.75 MB / 1.473 GB, free: 180 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.239, allocations: 1.482 MB / 1.475 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001718/1.24, allocations: 432.6 kB / 1.475 GB, free: 14.23 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.242, allocations: 0.9015 MB / 1.476 GB, free: 13.33 MB / 1.17 GB Notification: Performance of SimCode: time 9.82e-07/1.242, allocations: 0 / 1.476 GB, free: 13.33 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/1.35, allocations: 65.87 MB / 1.54 GB, free: 12.25 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.64, allocations: 11.86 kB / 1.54 GB, free: 12.23 MB / 1.232 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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