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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009112/0.009111, allocations: 108.2 kB / 15.74 MB, free: 6.441 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.001812/0.001812, allocations: 191.3 kB / 16.67 MB, free: 6.355 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.509/2.509, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 58.72 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3156, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1257/0.4414, allocations: 132.2 MB / 1.217 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04872/0.4901, allocations: 23.22 MB / 1.24 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005837/0.496, allocations: 123.2 kB / 1.24 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006045/0.5021, allocations: 1.498 MB / 1.241 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.5186, allocations: 4.104 MB / 1.245 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.008151/0.5268, allocations: 2.156 MB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5375, allocations: 6.556 MB / 1.254 GB, free: 7.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004865/0.5424, allocations: 2.351 MB / 1.256 GB, free: 4.648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.5494, allocations: 2.758 MB / 1.259 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6736/1.223, allocations: 1.881 MB / 1.261 GB, free: 50.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/1.224, allocations: 247.7 kB / 1.261 GB, free: 50.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004946/1.229, allocations: 1.94 MB / 1.263 GB, free: 50.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007208/1.23, allocations: 0.5962 MB / 1.263 GB, free: 50.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002629/1.232, allocations: 1.455 MB / 1.265 GB, free: 50.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01015/1.243, allocations: 4.358 MB / 1.269 GB, free: 50.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.243, allocations: 0 / 1.269 GB, free: 50.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.243, allocations: 0 / 1.269 GB, free: 50.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001286/1.243, allocations: 4.094 kB / 1.269 GB, free: 50.83 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.009488/1.252, allocations: 3.174 MB / 1.272 GB, free: 49.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.252, allocations: 12.06 kB / 1.272 GB, free: 49.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/1.258, allocations: 0.8345 MB / 1.273 GB, free: 49.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/1.263, allocations: 2.345 MB / 1.275 GB, free: 48.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.264, allocations: 123.9 kB / 1.275 GB, free: 48.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/1.264, allocations: 164 kB / 1.276 GB, free: 48.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/1.268, allocations: 1.922 MB / 1.277 GB, free: 48.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/1.268, allocations: 1.438 kB / 1.277 GB, free: 48.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.268, allocations: 64.34 kB / 1.277 GB, free: 48.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/1.268, allocations: 37.69 kB / 1.278 GB, free: 48.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005079/1.273, allocations: 1.783 MB / 1.279 GB, free: 48.39 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.01451/1.288, allocations: 8.965 MB / 1.288 GB, free: 44.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/1.292, allocations: 1.201 MB / 1.289 GB, free: 43.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/1.294, allocations: 459.8 kB / 1.29 GB, free: 43.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/1.294, allocations: 1.72 MB / 1.291 GB, free: 42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/1.294, allocations: 43.81 kB / 1.291 GB, free: 41.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.294, allocations: 1.094 kB / 1.291 GB, free: 41.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.009897/1.304, allocations: 2.329 MB / 1.294 GB, free: 41.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/1.304, allocations: 91.52 kB / 1.294 GB, free: 41.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/1.31, allocations: 2.492 MB / 1.296 GB, free: 41.19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/1.31, allocations: 47.08 kB / 1.296 GB, free: 41.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/1.311, allocations: 1.039 MB / 1.297 GB, free: 40.88 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.311, allocations: 271.1 kB / 1.297 GB, free: 40.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/1.312, allocations: 255.8 kB / 1.298 GB, free: 40.69 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/1.312, allocations: 343 kB / 1.298 GB, free: 40.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/1.313, allocations: 0.571 MB / 1.299 GB, free: 40.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.315, allocations: 0.9589 MB / 1.3 GB, free: 39.96 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/1.318, allocations: 1.251 MB / 1.301 GB, free: 39.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.318, allocations: 2.625 kB / 1.301 GB, free: 39.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006915/1.325, allocations: 2.013 MB / 1.303 GB, free: 39.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/1.325, allocations: 8.875 kB / 1.303 GB, free: 39.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.325, allocations: 11.62 kB / 1.303 GB, free: 39.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/1.327, allocations: 430.2 kB / 1.303 GB, free: 39.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.328, allocations: 284.2 kB / 1.303 GB, free: 39.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/1.33, allocations: 1.502 MB / 1.305 GB, free: 38.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.334, allocations: 369 kB / 1.305 GB, free: 38.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.334, allocations: 61.88 kB / 1.305 GB, free: 38.19 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.001117/1.335, allocations: 458.1 kB / 1.306 GB, free: 38.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005217/1.336, allocations: 247.8 kB / 1.306 GB, free: 37.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/1.339, allocations: 1.498 MB / 1.307 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.339, allocations: 9.172 kB / 1.307 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.339, allocations: 5.188 kB / 1.307 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/1.339, allocations: 6.906 kB / 1.307 GB, free: 37.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007624/1.347, allocations: 3.601 MB / 1.311 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.347, allocations: 2.562 kB / 1.311 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/1.348, allocations: 127.1 kB / 1.311 GB, free: 37.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/1.349, allocations: 412.5 kB / 1.311 GB, free: 37.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/1.349, allocations: 27.83 kB / 1.312 GB, free: 37.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/1.351, allocations: 1.569 MB / 1.313 GB, free: 36.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.351, allocations: 11.75 kB / 1.313 GB, free: 36.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/1.358, allocations: 1.935 MB / 1.315 GB, free: 35.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.359, allocations: 487.2 kB / 1.315 GB, free: 35.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/1.36, allocations: 23.86 kB / 1.315 GB, free: 35.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.361, allocations: 136.5 kB / 1.316 GB, free: 35.35 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.361, allocations: 67.39 kB / 1.316 GB, free: 35.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/1.361, allocations: 44.98 kB / 1.316 GB, free: 35.34 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002813/1.364, allocations: 1.75 MB / 1.317 GB, free: 35.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.364, allocations: 0 / 1.317 GB, free: 35.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002413/1.367, allocations: 0.6891 MB / 1.318 GB, free: 35.11 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.001232/1.368, allocations: 0.6181 MB / 1.319 GB, free: 34.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003995/1.372, allocations: 1.341 MB / 1.32 GB, free: 34.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.372, allocations: 3.062 kB / 1.32 GB, free: 34.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/1.374, allocations: 0.6659 MB / 1.321 GB, free: 34.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/1.381, allocations: 1.329 MB / 1.322 GB, free: 34.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/1.386, allocations: 3.537 MB / 1.325 GB, free: 33.22 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/1.387, allocations: 1.488 MB / 1.327 GB, free: 32.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002162/1.389, allocations: 438.9 kB / 1.327 GB, free: 32.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/1.39, allocations: 169.2 kB / 1.327 GB, free: 32.34 MB / 1.014 GB Notification: Performance of SimCode: time 1.302e-06/1.39, allocations: 4 kB / 1.327 GB, free: 32.33 MB / 1.014 GB Notification: Performance of Templates: time 0.07002/1.46, allocations: 48.59 MB / 1.375 GB, free: 1.211 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (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 & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches