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.001431/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.581/2.581, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5172, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1153/0.6325, allocations: 132.2 MB / 1.147 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02905/0.6616, allocations: 23.21 MB / 1.169 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.6651, allocations: 123.3 kB / 1.169 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003621/0.6687, allocations: 1.49 MB / 1.171 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009577/0.6783, allocations: 4.092 MB / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.683, allocations: 2.159 MB / 1.177 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007222/0.6902, allocations: 6.52 MB / 1.183 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.6932, allocations: 2.357 MB / 1.186 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.6986, allocations: 2.736 MB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.7012, allocations: 1.871 MB / 1.19 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/0.7016, allocations: 248 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.7055, allocations: 1.942 MB / 1.192 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005305/0.7061, allocations: 0.5876 MB / 1.193 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.7076, allocations: 1.454 MB / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.7127, allocations: 4.312 MB / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7127, allocations: 0 / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.634e-06/0.7127, allocations: 0 / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.781e-05/0.7127, allocations: 0 / 1.198 GB, free: 8.5 MB / 0.9512 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.005443/0.7182, allocations: 3.164 MB / 1.201 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.7182, allocations: 8.031 kB / 1.201 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/0.7185, allocations: 223.9 kB / 1.202 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.7232, allocations: 0.8358 MB / 1.203 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.7271, allocations: 2.206 MB / 1.205 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009972/0.7281, allocations: 290.8 kB / 1.205 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.7284, allocations: 164 kB / 1.205 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/0.7324, allocations: 1.938 MB / 1.207 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.7324, allocations: 3.984 kB / 1.207 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.7326, allocations: 67.94 kB / 1.207 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.7326, allocations: 36 kB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.7374, allocations: 1.815 MB / 1.209 GB, free: 13.52 MB / 0.9669 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.012/0.7494, allocations: 9.058 MB / 1.218 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004473/0.7539, allocations: 1.195 MB / 1.219 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.7551, allocations: 461.4 kB / 1.219 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.7562, allocations: 1.722 MB / 1.221 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.7562, allocations: 50.5 kB / 1.221 GB, free: 24 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.7562, allocations: 0 / 1.221 GB, free: 24 kB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008943/0.7652, allocations: 2.325 MB / 1.223 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.7652, allocations: 85.11 kB / 1.223 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.7691, allocations: 2.508 MB / 1.226 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.7692, allocations: 49.7 kB / 1.226 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.7701, allocations: 1.038 MB / 1.227 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.7703, allocations: 272.2 kB / 1.227 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.7707, allocations: 254.6 kB / 1.227 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7709, allocations: 353.8 kB / 1.228 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.7727, allocations: 0.5881 MB / 1.228 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.7749, allocations: 0.966 MB / 1.229 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.7781, allocations: 1.268 MB / 1.231 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7781, allocations: 0 / 1.231 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006976/0.7851, allocations: 2.051 MB / 1.233 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7851, allocations: 8 kB / 1.233 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7851, allocations: 11.94 kB / 1.233 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/0.7868, allocations: 417.7 kB / 1.233 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.7881, allocations: 283.6 kB / 1.233 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.7903, allocations: 1.503 MB / 1.235 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.7931, allocations: 386.1 kB / 1.235 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.7933, allocations: 63.91 kB / 1.235 GB, free: 1.18 MB / 0.9825 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.0008227/0.7941, allocations: 458.7 kB / 1.236 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.7945, allocations: 252.8 kB / 1.236 GB, free: 484 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.7983, allocations: 1.494 MB / 1.237 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.7984, allocations: 16 kB / 1.237 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7984, allocations: 4 kB / 1.237 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7984, allocations: 3.984 kB / 1.237 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/0.8067, allocations: 3.595 MB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.8068, allocations: 4 kB / 1.241 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006372/0.8074, allocations: 131.8 kB / 1.241 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.8089, allocations: 416.1 kB / 1.241 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/0.8089, allocations: 27.98 kB / 1.241 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002647/0.8116, allocations: 1.574 MB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.8116, allocations: 4 kB / 1.243 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00628/0.8179, allocations: 1.939 MB / 1.245 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/0.8189, allocations: 481.6 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.8192, allocations: 16 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.821, allocations: 143.8 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.8211, allocations: 59.88 kB / 1.245 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.8212, allocations: 43.95 kB / 1.245 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002907/0.8241, allocations: 1.765 MB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8241, allocations: 4 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001797/0.8259, allocations: 0.6905 MB / 1.248 GB, free: 3.816 MB / 0.9981 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.007463/0.8333, allocations: 3.003 MB / 1.251 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4118/1.245, allocations: 1.394 MB / 1.252 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.245, allocations: 0.75 kB / 1.252 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.248, allocations: 0.665 MB / 1.253 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006347/1.254, allocations: 1.335 MB / 1.254 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/1.292, allocations: 19.19 MB / 1.273 GB, free: 216.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.293, allocations: 1.488 MB / 1.274 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002324/1.295, allocations: 433.1 kB / 1.275 GB, free: 216.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.296, allocations: 0.8971 MB / 1.276 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.296, allocations: 0 / 1.276 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0901/1.387, allocations: 68.13 MB / 1.342 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.33, allocations: 11.55 kB / 1.342 GB, free: 156.9 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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