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.007105/0.007105, allocations: 101.7 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.001648/0.001648, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.444/1.444, 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 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.91 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3034, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1376/0.4411, allocations: 132.2 MB / 1.217 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03252/0.4736, allocations: 23.22 MB / 1.239 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0048/0.4785, allocations: 123.2 kB / 1.239 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.4832, allocations: 1.533 MB / 1.241 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.4954, allocations: 4.323 MB / 1.245 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006374/0.5018, allocations: 2.17 MB / 1.247 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.5128, allocations: 6.549 MB / 1.254 GB, free: 7.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004489/0.5173, allocations: 2.354 MB / 1.256 GB, free: 4.922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007712/0.5251, allocations: 2.83 MB / 1.259 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.5288, allocations: 1.88 MB / 1.261 GB, free: 208 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.7276/1.256, allocations: 246.7 kB / 1.261 GB, free: 52.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/1.262, allocations: 1.935 MB / 1.263 GB, free: 52.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.264, allocations: 0.6019 MB / 1.263 GB, free: 52.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004835/1.269, allocations: 1.453 MB / 1.265 GB, free: 52.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0138/1.282, allocations: 4.36 MB / 1.269 GB, free: 52.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.282, allocations: 0.6562 kB / 1.269 GB, free: 52.13 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.917e-06/1.282, allocations: 0 / 1.269 GB, free: 52.13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002019/1.283, allocations: 0.6562 kB / 1.269 GB, free: 52.13 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.01296/1.296, allocations: 3.171 MB / 1.272 GB, free: 50.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/1.296, allocations: 10.84 kB / 1.272 GB, free: 50.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009825/1.297, allocations: 221.3 kB / 1.272 GB, free: 50.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/1.303, allocations: 0.8376 MB / 1.273 GB, free: 50.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008471/1.311, allocations: 2.346 MB / 1.275 GB, free: 49.92 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/1.311, allocations: 122.5 kB / 1.275 GB, free: 49.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007024/1.312, allocations: 159.2 kB / 1.276 GB, free: 49.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006201/1.318, allocations: 1.92 MB / 1.277 GB, free: 49.69 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/1.318, allocations: 5.281 kB / 1.277 GB, free: 49.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003439/1.319, allocations: 62.5 kB / 1.278 GB, free: 49.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/1.319, allocations: 37.81 kB / 1.278 GB, free: 49.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005789/1.325, allocations: 1.795 MB / 1.279 GB, free: 49.64 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.0176/1.342, allocations: 8.96 MB / 1.288 GB, free: 45.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/1.347, allocations: 1.197 MB / 1.289 GB, free: 45.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.348, allocations: 462.2 kB / 1.29 GB, free: 45.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009981/1.349, allocations: 1.723 MB / 1.291 GB, free: 43.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/1.349, allocations: 38.72 kB / 1.291 GB, free: 43.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/1.349, allocations: 0 / 1.291 GB, free: 43.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.00945/1.358, allocations: 2.328 MB / 1.294 GB, free: 42.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.358, allocations: 85.52 kB / 1.294 GB, free: 42.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006665/1.365, allocations: 2.497 MB / 1.296 GB, free: 42.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000296/1.365, allocations: 45.58 kB / 1.296 GB, free: 42.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/1.367, allocations: 1.045 MB / 1.297 GB, free: 42.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/1.367, allocations: 273.3 kB / 1.298 GB, free: 41.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008228/1.368, allocations: 255.5 kB / 1.298 GB, free: 41.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.368, allocations: 346 kB / 1.298 GB, free: 41.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.37, allocations: 0.5705 MB / 1.299 GB, free: 41.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/1.372, allocations: 0.9558 MB / 1.3 GB, free: 41.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003199/1.376, allocations: 1.252 MB / 1.301 GB, free: 40.88 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/1.376, allocations: 1.062 kB / 1.301 GB, free: 40.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007277/1.383, allocations: 2.022 MB / 1.303 GB, free: 40.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/1.383, allocations: 13.91 kB / 1.303 GB, free: 40.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.383, allocations: 7.469 kB / 1.303 GB, free: 40.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/1.385, allocations: 424.2 kB / 1.303 GB, free: 40.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.386, allocations: 278.2 kB / 1.303 GB, free: 40.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.388, allocations: 1.503 MB / 1.305 GB, free: 39.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/1.392, allocations: 364.8 kB / 1.305 GB, free: 39.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/1.392, allocations: 64.09 kB / 1.305 GB, free: 39.44 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.00116/1.393, allocations: 463.5 kB / 1.306 GB, free: 39.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008901/1.394, allocations: 248.2 kB / 1.306 GB, free: 39.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/1.398, allocations: 1.491 MB / 1.308 GB, free: 39.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.398, allocations: 15.86 kB / 1.308 GB, free: 39.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.398, allocations: 0.9375 kB / 1.308 GB, free: 39.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.398, allocations: 4.094 kB / 1.308 GB, free: 39.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/1.406, allocations: 3.598 MB / 1.311 GB, free: 38.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.406, allocations: 3.906 kB / 1.311 GB, free: 38.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/1.407, allocations: 132.4 kB / 1.311 GB, free: 38.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/1.409, allocations: 419.8 kB / 1.312 GB, free: 38.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/1.409, allocations: 28.5 kB / 1.312 GB, free: 38.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/1.411, allocations: 1.574 MB / 1.313 GB, free: 37.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.411, allocations: 5.391 kB / 1.313 GB, free: 37.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/1.417, allocations: 1.938 MB / 1.315 GB, free: 36.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.418, allocations: 487.5 kB / 1.315 GB, free: 36.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008856/1.419, allocations: 23.7 kB / 1.316 GB, free: 36.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.421, allocations: 133.4 kB / 1.316 GB, free: 36.59 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.421, allocations: 68.98 kB / 1.316 GB, free: 36.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.421, allocations: 43.73 kB / 1.316 GB, free: 36.58 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00338/1.425, allocations: 1.751 MB / 1.317 GB, free: 36.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.425, allocations: 3.031 kB / 1.317 GB, free: 36.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002928/1.428, allocations: 0.6882 MB / 1.318 GB, free: 36.35 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.007091/1.435, allocations: 2.986 MB / 1.321 GB, free: 35.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003958/1.439, allocations: 1.341 MB / 1.322 GB, free: 35.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.439, allocations: 4.062 kB / 1.322 GB, free: 35.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/1.441, allocations: 0.67 MB / 1.323 GB, free: 35.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007255/1.448, allocations: 1.34 MB / 1.324 GB, free: 34.94 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/1.484, allocations: 16.52 MB / 1.34 GB, free: 31.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.486, allocations: 1.489 MB / 1.342 GB, free: 30.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002112/1.488, allocations: 438.2 kB / 1.342 GB, free: 30.15 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/1.489, allocations: 0.8959 MB / 1.343 GB, free: 29.51 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.489, allocations: 0 / 1.343 GB, free: 29.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.601, allocations: 65.92 MB / 1.408 GB, free: 3.609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/18.19, allocations: 6.5 kB / 1.408 GB, free: 3.605 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 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.mat","/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