Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_11_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.001325/0.001324, allocations: 108 kB / 15.61 MB, free: 152 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.001239/0.001239, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 69.3 kB / 0.9086 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2618, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1425/0.4043, allocations: 132.2 MB / 1.193 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03328/0.4376, allocations: 23.23 MB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.4406, allocations: 127.2 kB / 1.216 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.444, allocations: 1.494 MB / 1.217 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.4535, allocations: 4.092 MB / 1.221 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004736/0.4583, allocations: 2.147 MB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008291/0.4666, allocations: 6.513 MB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.4701, allocations: 2.351 MB / 1.232 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005545/0.4756, allocations: 2.731 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.4781, allocations: 1.882 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003923/0.4785, allocations: 248 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.4825, allocations: 1.934 MB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.4832, allocations: 0.5954 MB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.4847, allocations: 1.45 MB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005271/0.49, allocations: 4.304 MB / 1.245 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.49, allocations: 4 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.49, allocations: 0 / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.677e-05/0.49, allocations: 0 / 1.245 GB, free: 4.273 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.005521/0.4956, allocations: 3.168 MB / 1.248 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4956, allocations: 8.031 kB / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.4959, allocations: 224 kB / 1.248 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.42/0.916, allocations: 0.8422 MB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005006/0.921, allocations: 2.19 MB / 1.251 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/0.9221, allocations: 295.2 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/0.9225, allocations: 166 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.9265, allocations: 1.937 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.9266, allocations: 5.203 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.9267, allocations: 67.09 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.9268, allocations: 38.06 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.9315, allocations: 1.815 MB / 1.256 GB, free: 181.9 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.01057/0.9421, allocations: 9.052 MB / 1.264 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.9464, allocations: 1.203 MB / 1.266 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.9475, allocations: 460.2 kB / 1.266 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007177/0.9482, allocations: 1.726 MB / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.9482, allocations: 37.81 kB / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.9482, allocations: 0 / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00851/0.9568, allocations: 2.331 MB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.9568, allocations: 83.27 kB / 1.27 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.9605, allocations: 2.507 MB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.9606, allocations: 46.36 kB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007109/0.9613, allocations: 1.044 MB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.9615, allocations: 266 kB / 1.274 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004076/0.9619, allocations: 261.8 kB / 1.274 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.962, allocations: 344.5 kB / 1.274 GB, free: 171 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.9639, allocations: 0.5908 MB / 1.275 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.9661, allocations: 0.9664 MB / 1.276 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.9694, allocations: 1.262 MB / 1.277 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.9694, allocations: 7.531 kB / 1.277 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006564/0.976, allocations: 2.043 MB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.976, allocations: 9.016 kB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.976, allocations: 11.53 kB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.9776, allocations: 420.3 kB / 1.28 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9789, allocations: 292.5 kB / 1.28 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.9808, allocations: 1.501 MB / 1.281 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.9835, allocations: 391.4 kB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.9836, allocations: 58.84 kB / 1.282 GB, free: 167.4 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.0006266/0.9843, allocations: 463.4 kB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.9846, allocations: 243.9 kB / 1.282 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.9883, allocations: 1.496 MB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.9883, allocations: 13.89 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9883, allocations: 1.094 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.9883, allocations: 7.734 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006823/0.9951, allocations: 3.598 MB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.9952, allocations: 3.25 kB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.9958, allocations: 131.6 kB / 1.288 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.9971, allocations: 413.2 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.9972, allocations: 30.23 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.9996, allocations: 1.571 MB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.9996, allocations: 7.844 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/1.005, allocations: 1.933 MB / 1.291 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/1.006, allocations: 492.6 kB / 1.292 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.006, allocations: 22.53 kB / 1.292 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.008, allocations: 147.5 kB / 1.292 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/1.008, allocations: 58.7 kB / 1.292 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.008, allocations: 41.19 kB / 1.292 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002573/1.011, allocations: 1.765 MB / 1.294 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.011, allocations: 0 / 1.294 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001668/1.013, allocations: 0.6822 MB / 1.295 GB, free: 160.2 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.007035/1.02, allocations: 3.004 MB / 1.297 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00428/1.024, allocations: 1.387 MB / 1.299 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.024, allocations: 5.438 kB / 1.299 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/1.026, allocations: 0.6581 MB / 1.299 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/1.032, allocations: 1.353 MB / 1.301 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/1.062, allocations: 19.19 MB / 1.32 GB, free: 140.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/1.063, allocations: 1.486 MB / 1.321 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001745/1.064, allocations: 436.5 kB / 1.321 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/1.065, allocations: 0.9054 MB / 1.322 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.065, allocations: 0 / 1.322 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08881/1.154, allocations: 68.13 MB / 1.389 GB, free: 70.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/14.09, allocations: 9.719 kB / 1.389 GB, free: 70.33 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches