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.001681/0.001681, 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.001961/0.001961, allocations: 192.7 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 65.34 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.242, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1226/0.3647, allocations: 132.2 MB / 1.193 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02922/0.3939, allocations: 23.23 MB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.3974, allocations: 123.2 kB / 1.216 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003681/0.4011, allocations: 1.494 MB / 1.217 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00989/0.411, allocations: 4.092 MB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.4159, allocations: 2.145 MB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007449/0.4234, allocations: 6.51 MB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003338/0.4267, allocations: 2.359 MB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.4323, allocations: 2.732 MB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.4352, allocations: 1.882 MB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006785/0.4359, allocations: 248 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004417/0.4403, allocations: 1.93 MB / 1.238 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007913/0.4411, allocations: 0.5876 MB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.4434, allocations: 1.466 MB / 1.24 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.4495, allocations: 4.3 MB / 1.245 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4495, allocations: 4 kB / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4495, allocations: 0 / 1.245 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001052/0.4496, allocations: 0 / 1.245 GB, free: 4.52 MB / 0.9981 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.006221/0.4558, allocations: 3.173 MB / 1.248 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4559, allocations: 8.031 kB / 1.248 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.4561, allocations: 223.9 kB / 1.248 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.4607, allocations: 0.8436 MB / 1.249 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4054/0.8661, allocations: 2.19 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/0.8672, allocations: 293.5 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.8674, allocations: 162.4 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.8713, allocations: 1.94 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.8713, allocations: 1.938 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.8715, allocations: 68.66 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.8715, allocations: 37.56 kB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.8762, allocations: 1.811 MB / 1.255 GB, free: 182 MB / 0.9981 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.01109/0.8873, allocations: 9.053 MB / 1.264 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.8917, allocations: 1.196 MB / 1.265 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8928, allocations: 454.4 kB / 1.266 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007866/0.8936, allocations: 1.725 MB / 1.267 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.8937, allocations: 44.31 kB / 1.267 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.8937, allocations: 2.578 kB / 1.267 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008649/0.9023, allocations: 2.326 MB / 1.27 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.9024, allocations: 87.67 kB / 1.27 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.9065, allocations: 2.508 MB / 1.272 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9066, allocations: 45.33 kB / 1.272 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007241/0.9074, allocations: 1.037 MB / 1.273 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.9076, allocations: 274.7 kB / 1.273 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.908, allocations: 252.5 kB / 1.274 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.9081, allocations: 351.3 kB / 1.274 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.91, allocations: 0.5891 MB / 1.275 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/0.9122, allocations: 0.9644 MB / 1.276 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.9156, allocations: 1.266 MB / 1.277 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.9156, allocations: 2.188 kB / 1.277 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007043/0.9227, allocations: 2.047 MB / 1.279 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9227, allocations: 8.406 kB / 1.279 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9227, allocations: 7.359 kB / 1.279 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.9244, allocations: 423.3 kB / 1.279 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.9257, allocations: 288.7 kB / 1.279 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.9276, allocations: 1.499 MB / 1.281 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/0.9306, allocations: 392.7 kB / 1.281 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.9307, allocations: 59.42 kB / 1.281 GB, free: 167.7 MB / 0.9981 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.0007603/0.9315, allocations: 466.9 kB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.9319, allocations: 251.8 kB / 1.282 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.9355, allocations: 1.493 MB / 1.284 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.9356, allocations: 13.2 kB / 1.284 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9356, allocations: 1.031 kB / 1.284 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9356, allocations: 7.844 kB / 1.284 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007012/0.9426, allocations: 3.602 MB / 1.287 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.9426, allocations: 8.781 kB / 1.287 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/0.9433, allocations: 127.1 kB / 1.287 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.9447, allocations: 415 kB / 1.288 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.9447, allocations: 30.06 kB / 1.288 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002384/0.9471, allocations: 1.572 MB / 1.289 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.9472, allocations: 8.375 kB / 1.289 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/0.9531, allocations: 1.932 MB / 1.291 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007675/0.9539, allocations: 489.1 kB / 1.291 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/0.9542, allocations: 29.22 kB / 1.292 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.956, allocations: 140.3 kB / 1.292 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.9561, allocations: 61.17 kB / 1.292 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.9562, allocations: 38.97 kB / 1.292 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002753/0.9589, allocations: 1.764 MB / 1.293 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9589, allocations: 3.938 kB / 1.293 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001782/0.9607, allocations: 0.6798 MB / 1.294 GB, free: 160.5 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.006984/0.9677, allocations: 2.999 MB / 1.297 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004237/0.972, allocations: 1.391 MB / 1.298 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.972, allocations: 1.344 kB / 1.298 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.9743, allocations: 0.6688 MB / 1.299 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005552/0.9799, allocations: 1.34 MB / 1.3 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/1.01, allocations: 19.2 MB / 1.319 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/1.01, allocations: 1.493 MB / 1.321 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001846/1.012, allocations: 436.5 kB / 1.321 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/1.013, allocations: 0.8937 MB / 1.322 GB, free: 138 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.013, allocations: 0 / 1.322 GB, free: 138 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08298/1.096, allocations: 68.13 MB / 1.388 GB, free: 70.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.33, allocations: 8.891 kB / 1.388 GB, free: 70.67 MB / 0.9981 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