Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001766/0.001766, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.414/2.414, allocations: 390.3 MB / 0.6655 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.91 kB / 0.9515 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8755, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1577/1.033, allocations: 132.3 MB / 1.218 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03886/1.072, allocations: 23.24 MB / 1.24 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006633/1.079, allocations: 120.8 kB / 1.241 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005359/1.084, allocations: 1.539 MB / 1.242 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/1.099, allocations: 4.328 MB / 1.246 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006915/1.106, allocations: 2.172 MB / 1.248 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01125/1.117, allocations: 6.552 MB / 1.255 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004871/1.122, allocations: 2.359 MB / 1.257 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008076/1.13, allocations: 2.811 MB / 1.26 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/1.134, allocations: 1.894 MB / 1.262 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/1.136, allocations: 248 kB / 1.262 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00601/1.142, allocations: 1.934 MB / 1.264 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.143, allocations: 0.6031 MB / 1.264 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003446/1.146, allocations: 1.458 MB / 1.266 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01021/1.157, allocations: 4.36 MB / 1.27 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.157, allocations: 0 / 1.27 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.157, allocations: 0 / 1.27 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001492/1.157, allocations: 0 / 1.27 GB, free: 3.902 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.008267/1.165, allocations: 3.182 MB / 1.273 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.165, allocations: 16.03 kB / 1.273 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00458/1.17, allocations: 0.8397 MB / 1.274 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005503/1.175, allocations: 2.311 MB / 1.276 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/1.176, allocations: 127 kB / 1.276 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004312/1.176, allocations: 160 kB / 1.277 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005057/1.181, allocations: 1.926 MB / 1.278 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.181, allocations: 0 / 1.278 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/1.181, allocations: 68 kB / 1.279 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/1.181, allocations: 39.94 kB / 1.279 GB, free: 11.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005088/1.186, allocations: 1.799 MB / 1.28 GB, free: 9.211 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.01462/1.201, allocations: 8.989 MB / 1.289 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/1.205, allocations: 1.201 MB / 1.29 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.206, allocations: 465.1 kB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.208, allocations: 1.727 MB / 1.292 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.208, allocations: 38.56 kB / 1.292 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 4.097e-06/1.208, allocations: 0 / 1.292 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008742/1.217, allocations: 2.336 MB / 1.295 GB, free: 9.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/1.217, allocations: 89.05 kB / 1.295 GB, free: 9.289 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/1.222, allocations: 2.52 MB / 1.297 GB, free: 6.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/1.222, allocations: 45.7 kB / 1.297 GB, free: 6.699 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.223, allocations: 1.045 MB / 1.298 GB, free: 5.645 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/1.223, allocations: 276.1 kB / 1.299 GB, free: 5.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005834/1.224, allocations: 254.6 kB / 1.299 GB, free: 5.113 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.224, allocations: 341.9 kB / 1.299 GB, free: 4.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/1.226, allocations: 0.5764 MB / 1.3 GB, free: 4.199 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/1.228, allocations: 0.9504 MB / 1.301 GB, free: 3.094 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/1.231, allocations: 1.26 MB / 1.302 GB, free: 1.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.231, allocations: 0 / 1.302 GB, free: 1.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006906/1.238, allocations: 2.013 MB / 1.304 GB, free: 15.69 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.238, allocations: 15.22 kB / 1.304 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/1.238, allocations: 11.98 kB / 1.304 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/1.24, allocations: 488 kB / 1.304 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.241, allocations: 287.5 kB / 1.305 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/1.244, allocations: 1.518 MB / 1.306 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/1.246, allocations: 366 kB / 1.306 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/1.247, allocations: 55.97 kB / 1.307 GB, free: 12.92 MB / 1.045 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001105/1.248, allocations: 465.5 kB / 1.307 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007809/1.249, allocations: 248.9 kB / 1.307 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/1.253, allocations: 1.509 MB / 1.309 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/1.253, allocations: 12 kB / 1.309 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.253, allocations: 4 kB / 1.309 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.253, allocations: 3.984 kB / 1.309 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008443/1.261, allocations: 3.616 MB / 1.312 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.261, allocations: 0 / 1.312 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.262, allocations: 131.8 kB / 1.312 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.264, allocations: 493.1 kB / 1.313 GB, free: 6.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.516e-05/1.264, allocations: 31.92 kB / 1.313 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/1.266, allocations: 1.577 MB / 1.314 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.266, allocations: 8.031 kB / 1.314 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/1.272, allocations: 1.939 MB / 1.316 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.274, allocations: 0.4897 MB / 1.317 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006412/1.274, allocations: 20 kB / 1.317 GB, free: 2.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.276, allocations: 139.8 kB / 1.317 GB, free: 1.988 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/1.276, allocations: 59.81 kB / 1.317 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.276, allocations: 47.95 kB / 1.317 GB, free: 1.883 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003447/1.28, allocations: 1.769 MB / 1.319 GB, free: 112 kB / 1.045 GB Notification: Performance of sort global known variables: time 3.11e-07/1.28, allocations: 0 / 1.319 GB, free: 112 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.002172/1.282, allocations: 0.6867 MB / 1.319 GB, free: 15.42 MB / 1.061 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/1.283, allocations: 0.6183 MB / 1.32 GB, free: 14.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004219/1.288, allocations: 1.354 MB / 1.321 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.288, allocations: 0 / 1.321 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.29, allocations: 0.6663 MB / 1.322 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006344/1.296, allocations: 1.323 MB / 1.323 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/1.304, allocations: 3.593 MB / 1.327 GB, free: 7.809 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.305, allocations: 1.478 MB / 1.328 GB, free: 6.297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/1.306, allocations: 187.4 kB / 1.328 GB, free: 6.113 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.306, allocations: 0 / 1.328 GB, free: 6.113 MB / 1.061 GB Notification: Performance of Templates: time 0.08326/1.389, allocations: 62.74 MB / 1.39 GB, free: 7.719 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches