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.006375/0.006375, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001252/0.001252, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.443/1.443, 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.459/2.459, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.03 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3096, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1304/0.4401, allocations: 132.2 MB / 1.217 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03284/0.473, allocations: 23.23 MB / 1.239 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/0.478, allocations: 123.2 kB / 1.239 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.4824, allocations: 1.483 MB / 1.241 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4945, allocations: 4.108 MB / 1.245 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006157/0.5007, allocations: 2.165 MB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.511, allocations: 6.541 MB / 1.253 GB, free: 7.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00494/0.516, allocations: 2.358 MB / 1.256 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008493/0.5245, allocations: 2.805 MB / 1.258 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004615/0.5291, allocations: 1.887 MB / 1.26 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.5302, allocations: 248 kB / 1.26 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7283/1.258, allocations: 1.929 MB / 1.262 GB, free: 52.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001452/1.26, allocations: 0.6024 MB / 1.263 GB, free: 52.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003076/1.263, allocations: 1.457 MB / 1.264 GB, free: 52.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009667/1.273, allocations: 4.356 MB / 1.269 GB, free: 52.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.273, allocations: 0.875 kB / 1.269 GB, free: 52.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.693e-06/1.273, allocations: 0 / 1.269 GB, free: 52.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001045/1.273, allocations: 0.9375 kB / 1.269 GB, free: 52.26 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.008633/1.281, allocations: 3.172 MB / 1.272 GB, free: 50.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.282, allocations: 11.16 kB / 1.272 GB, free: 50.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003797/1.282, allocations: 220 kB / 1.272 GB, free: 50.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/1.287, allocations: 0.8414 MB / 1.273 GB, free: 50.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006738/1.294, allocations: 2.338 MB / 1.275 GB, free: 50.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/1.294, allocations: 124.1 kB / 1.275 GB, free: 50.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/1.295, allocations: 159.8 kB / 1.275 GB, free: 50.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004686/1.299, allocations: 1.922 MB / 1.277 GB, free: 49.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/1.299, allocations: 5.219 kB / 1.277 GB, free: 49.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/1.3, allocations: 62.31 kB / 1.277 GB, free: 49.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/1.3, allocations: 38.5 kB / 1.277 GB, free: 49.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/1.305, allocations: 1.791 MB / 1.279 GB, free: 49.79 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.01448/1.319, allocations: 8.968 MB / 1.288 GB, free: 45.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00464/1.324, allocations: 1.19 MB / 1.289 GB, free: 45.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.325, allocations: 458.1 kB / 1.289 GB, free: 45.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/1.326, allocations: 1.725 MB / 1.291 GB, free: 43.39 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/1.326, allocations: 40.5 kB / 1.291 GB, free: 43.36 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 4.528e-06/1.326, allocations: 1.188 kB / 1.291 GB, free: 43.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.01026/1.337, allocations: 2.326 MB / 1.293 GB, free: 42.92 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/1.337, allocations: 86.27 kB / 1.293 GB, free: 42.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007203/1.344, allocations: 2.496 MB / 1.296 GB, free: 42.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004211/1.344, allocations: 46.42 kB / 1.296 GB, free: 42.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/1.345, allocations: 1.044 MB / 1.297 GB, free: 42.28 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/1.346, allocations: 271.6 kB / 1.297 GB, free: 42.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/1.346, allocations: 257.5 kB / 1.298 GB, free: 42.08 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/1.346, allocations: 344.7 kB / 1.298 GB, free: 41.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.348, allocations: 0.5734 MB / 1.298 GB, free: 41.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.35, allocations: 0.9493 MB / 1.299 GB, free: 41.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/1.354, allocations: 1.253 MB / 1.301 GB, free: 41.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.354, allocations: 2.25 kB / 1.301 GB, free: 41.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007252/1.361, allocations: 2.026 MB / 1.303 GB, free: 40.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.361, allocations: 11.62 kB / 1.303 GB, free: 40.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.361, allocations: 8.75 kB / 1.303 GB, free: 40.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/1.363, allocations: 423.9 kB / 1.303 GB, free: 40.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.364, allocations: 284.3 kB / 1.303 GB, free: 40.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/1.366, allocations: 1.494 MB / 1.305 GB, free: 39.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.37, allocations: 369 kB / 1.305 GB, free: 39.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/1.37, allocations: 63.3 kB / 1.305 GB, free: 39.59 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.0009998/1.371, allocations: 461.8 kB / 1.306 GB, free: 39.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005602/1.371, allocations: 247.7 kB / 1.306 GB, free: 39.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/1.375, allocations: 1.492 MB / 1.307 GB, free: 39.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/1.375, allocations: 15.22 kB / 1.307 GB, free: 39.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.375, allocations: 0 / 1.307 GB, free: 39.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.375, allocations: 4.781 kB / 1.307 GB, free: 39.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.383, allocations: 3.599 MB / 1.311 GB, free: 38.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.383, allocations: 6.547 kB / 1.311 GB, free: 38.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/1.384, allocations: 129.2 kB / 1.311 GB, free: 38.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/1.385, allocations: 418.4 kB / 1.311 GB, free: 38.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.478e-05/1.385, allocations: 29.64 kB / 1.311 GB, free: 38.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/1.388, allocations: 1.579 MB / 1.313 GB, free: 37.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.388, allocations: 2.75 kB / 1.313 GB, free: 37.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006476/1.394, allocations: 1.938 MB / 1.315 GB, free: 36.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/1.396, allocations: 490.9 kB / 1.315 GB, free: 36.75 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004134/1.396, allocations: 20.97 kB / 1.315 GB, free: 36.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.398, allocations: 132 kB / 1.315 GB, free: 36.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.398, allocations: 73.44 kB / 1.315 GB, free: 36.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/1.398, allocations: 43.08 kB / 1.315 GB, free: 36.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003095/1.401, allocations: 1.752 MB / 1.317 GB, free: 36.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.401, allocations: 0 / 1.317 GB, free: 36.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002735/1.404, allocations: 0.6859 MB / 1.318 GB, free: 36.5 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.007991/1.412, allocations: 3.003 MB / 1.321 GB, free: 35.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004268/1.416, allocations: 1.335 MB / 1.322 GB, free: 35.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.416, allocations: 0 / 1.322 GB, free: 35.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.419, allocations: 0.6741 MB / 1.323 GB, free: 35.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00726/1.426, allocations: 1.329 MB / 1.324 GB, free: 35.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/1.46, allocations: 16.52 MB / 1.34 GB, free: 31.19 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/1.461, allocations: 1.488 MB / 1.342 GB, free: 30.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002454/1.464, allocations: 446.9 kB / 1.342 GB, free: 30.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.465, allocations: 0.8966 MB / 1.343 GB, free: 29.62 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.465, allocations: 0 / 1.343 GB, free: 29.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.568, allocations: 67.23 MB / 1.409 GB, free: 2.496 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/18.19, allocations: 7.438 kB / 1.409 GB, free: 2.492 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