Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.006491/0.006496, allocations: 103.9 kB / 15.73 MB, free: 6.473 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.001651/0.001651, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.3 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2417, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1249/0.3666, allocations: 132.2 MB / 1.217 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03194/0.3986, allocations: 23.23 MB / 1.239 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.4035, allocations: 119.3 kB / 1.239 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.4081, allocations: 1.494 MB / 1.241 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.42, allocations: 4.103 MB / 1.245 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005998/0.426, allocations: 2.168 MB / 1.247 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009352/0.4353, allocations: 6.535 MB / 1.253 GB, free: 7.602 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.4397, allocations: 2.358 MB / 1.256 GB, free: 5.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006715/0.4464, allocations: 2.751 MB / 1.258 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003613/0.4501, allocations: 1.888 MB / 1.26 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009426/0.451, allocations: 251.9 kB / 1.26 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5565/1.008, allocations: 1.93 MB / 1.262 GB, free: 52.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008028/1.008, allocations: 0.6011 MB / 1.263 GB, free: 52.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002057/1.01, allocations: 1.458 MB / 1.264 GB, free: 52.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007087/1.018, allocations: 4.357 MB / 1.269 GB, free: 52.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.018, allocations: 0 / 1.269 GB, free: 52.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/1.018, allocations: 4.156 kB / 1.269 GB, free: 52.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.707e-05/1.018, allocations: 0 / 1.269 GB, free: 52.29 MB / 1.014 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.007403/1.025, allocations: 3.175 MB / 1.272 GB, free: 50.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.025, allocations: 10.31 kB / 1.272 GB, free: 50.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003157/1.025, allocations: 217.2 kB / 1.272 GB, free: 50.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/1.031, allocations: 0.8411 MB / 1.273 GB, free: 50.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/1.037, allocations: 2.343 MB / 1.275 GB, free: 50.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/1.037, allocations: 123.3 kB / 1.275 GB, free: 50.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/1.038, allocations: 161.2 kB / 1.275 GB, free: 50.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/1.042, allocations: 1.921 MB / 1.277 GB, free: 49.88 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/1.042, allocations: 4.719 kB / 1.277 GB, free: 49.88 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/1.043, allocations: 63.39 kB / 1.277 GB, free: 49.88 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/1.043, allocations: 42.19 kB / 1.277 GB, free: 49.87 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/1.048, allocations: 1.778 MB / 1.279 GB, free: 49.83 MB / 1.014 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.01404/1.062, allocations: 8.971 MB / 1.288 GB, free: 45.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004735/1.067, allocations: 1.19 MB / 1.289 GB, free: 45.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/1.068, allocations: 460.2 kB / 1.289 GB, free: 45.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00099/1.069, allocations: 1.725 MB / 1.291 GB, free: 43.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.069, allocations: 42.8 kB / 1.291 GB, free: 43.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.978e-06/1.069, allocations: 1.688 kB / 1.291 GB, free: 43.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00949/1.079, allocations: 2.326 MB / 1.293 GB, free: 42.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.079, allocations: 89.05 kB / 1.293 GB, free: 42.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004227/1.083, allocations: 2.491 MB / 1.296 GB, free: 42.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001921/1.083, allocations: 48.08 kB / 1.296 GB, free: 42.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/1.084, allocations: 1.045 MB / 1.297 GB, free: 42.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/1.084, allocations: 274 kB / 1.297 GB, free: 42.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004278/1.084, allocations: 253.2 kB / 1.297 GB, free: 42.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/1.085, allocations: 347 kB / 1.298 GB, free: 41.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/1.086, allocations: 0.5695 MB / 1.298 GB, free: 41.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/1.088, allocations: 0.9595 MB / 1.299 GB, free: 41.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/1.091, allocations: 1.249 MB / 1.3 GB, free: 41.06 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.091, allocations: 2.344 kB / 1.301 GB, free: 41.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006932/1.098, allocations: 2.019 MB / 1.302 GB, free: 40.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.098, allocations: 14.22 kB / 1.302 GB, free: 40.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.098, allocations: 7.938 kB / 1.302 GB, free: 40.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/1.1, allocations: 423.9 kB / 1.303 GB, free: 40.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.101, allocations: 284 kB / 1.303 GB, free: 40.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/1.103, allocations: 1.497 MB / 1.305 GB, free: 39.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.107, allocations: 374.8 kB / 1.305 GB, free: 39.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.107, allocations: 61.84 kB / 1.305 GB, free: 39.62 MB / 1.014 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.0009163/1.108, allocations: 458.5 kB / 1.305 GB, free: 39.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/1.108, allocations: 247.8 kB / 1.306 GB, free: 39.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/1.112, allocations: 1.496 MB / 1.307 GB, free: 39.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.112, allocations: 8.375 kB / 1.307 GB, free: 39.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.112, allocations: 1.156 kB / 1.307 GB, free: 39.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.112, allocations: 14.75 kB / 1.307 GB, free: 39.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/1.12, allocations: 3.596 MB / 1.311 GB, free: 38.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.12, allocations: 8.344 kB / 1.311 GB, free: 38.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006396/1.12, allocations: 129.6 kB / 1.311 GB, free: 38.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/1.122, allocations: 411.7 kB / 1.311 GB, free: 38.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/1.122, allocations: 29.09 kB / 1.311 GB, free: 38.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/1.124, allocations: 1.566 MB / 1.313 GB, free: 37.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.124, allocations: 11.47 kB / 1.313 GB, free: 37.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/1.131, allocations: 1.936 MB / 1.315 GB, free: 37.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.132, allocations: 488.5 kB / 1.315 GB, free: 36.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004465/1.133, allocations: 20.7 kB / 1.315 GB, free: 36.78 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.134, allocations: 140.5 kB / 1.315 GB, free: 36.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.965e-05/1.135, allocations: 67.28 kB / 1.315 GB, free: 36.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.661e-05/1.135, allocations: 41.55 kB / 1.315 GB, free: 36.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002785/1.137, allocations: 1.755 MB / 1.317 GB, free: 36.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.137, allocations: 0 / 1.317 GB, free: 36.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002333/1.14, allocations: 0.6854 MB / 1.318 GB, free: 36.53 MB / 1.014 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.007231/1.147, allocations: 2.995 MB / 1.321 GB, free: 35.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00406/1.151, allocations: 1.347 MB / 1.322 GB, free: 35.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.151, allocations: 0 / 1.322 GB, free: 35.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002347/1.153, allocations: 0.6678 MB / 1.323 GB, free: 35.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00638/1.16, allocations: 1.335 MB / 1.324 GB, free: 35.13 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/1.192, allocations: 16.53 MB / 1.34 GB, free: 31.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/1.193, allocations: 1.487 MB / 1.342 GB, free: 30.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002127/1.195, allocations: 428.3 kB / 1.342 GB, free: 30.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.196, allocations: 0.9014 MB / 1.343 GB, free: 29.66 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.196, allocations: 0 / 1.343 GB, free: 29.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.296, allocations: 65.93 MB / 1.407 GB, free: 3.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.9/17.2, allocations: 6.797 kB / 1.407 GB, free: 3.906 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches