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.008816/0.008816, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001796/0.001797, allocations: 195 kB / 16.68 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.515/1.515, allocations: 222.9 MB / 240.4 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.44/2.44, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1791/1.192, allocations: 132.3 MB / 1.217 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04372/1.235, allocations: 23.23 MB / 1.24 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008474/1.244, allocations: 121.7 kB / 1.24 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006847/1.251, allocations: 1.538 MB / 1.241 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01965/1.271, allocations: 4.319 MB / 1.246 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009711/1.28, allocations: 2.175 MB / 1.248 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01585/1.296, allocations: 6.552 MB / 1.254 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006612/1.303, allocations: 2.363 MB / 1.256 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009207/1.312, allocations: 2.807 MB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004661/1.317, allocations: 1.895 MB / 1.261 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001131/1.318, allocations: 248 kB / 1.261 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/1.325, allocations: 1.938 MB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001357/1.326, allocations: 0.5953 MB / 1.264 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/1.33, allocations: 1.462 MB / 1.265 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/1.341, allocations: 4.376 MB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.341, allocations: 4 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/1.341, allocations: 0 / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000132/1.341, allocations: 4 kB / 1.269 GB, free: 3.875 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.00797/1.349, allocations: 3.274 MB / 1.273 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.349, allocations: 8.031 kB / 1.273 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/1.354, allocations: 0.8608 MB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006502/1.361, allocations: 2.329 MB / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/1.361, allocations: 123 kB / 1.276 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005761/1.362, allocations: 160 kB / 1.276 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005401/1.367, allocations: 1.926 MB / 1.278 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/1.367, allocations: 4 kB / 1.278 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/1.367, allocations: 60 kB / 1.278 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/1.367, allocations: 43.94 kB / 1.278 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/1.372, allocations: 1.799 MB / 1.28 GB, free: 9.062 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.0166/1.389, allocations: 9.018 MB / 1.289 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.393, allocations: 1.195 MB / 1.29 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.395, allocations: 465.2 kB / 1.29 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/1.396, allocations: 1.723 MB / 1.292 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.396, allocations: 42.56 kB / 1.292 GB, free: 11.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/1.396, allocations: 3.938 kB / 1.292 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008998/1.405, allocations: 2.349 MB / 1.294 GB, free: 9.211 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.405, allocations: 81.11 kB / 1.294 GB, free: 9.113 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/1.41, allocations: 2.532 MB / 1.297 GB, free: 6.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000182/1.41, allocations: 45.7 kB / 1.297 GB, free: 6.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.411, allocations: 1.054 MB / 1.298 GB, free: 5.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/1.412, allocations: 277.6 kB / 1.298 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/1.412, allocations: 258.7 kB / 1.298 GB, free: 4.914 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.412, allocations: 345.9 kB / 1.299 GB, free: 4.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/1.414, allocations: 0.5764 MB / 1.299 GB, free: 3.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/1.416, allocations: 0.9465 MB / 1.3 GB, free: 2.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/1.42, allocations: 1.256 MB / 1.301 GB, free: 1.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/1.42, allocations: 7.984 kB / 1.301 GB, free: 1.523 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007259/1.427, allocations: 2.022 MB / 1.303 GB, free: 15.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.427, allocations: 12.09 kB / 1.303 GB, free: 15.47 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.427, allocations: 8 kB / 1.303 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/1.429, allocations: 0.4915 MB / 1.304 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.43, allocations: 287.5 kB / 1.304 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.433, allocations: 1.511 MB / 1.306 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.436, allocations: 370.5 kB / 1.306 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.436, allocations: 67.95 kB / 1.306 GB, free: 12.7 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.001039/1.437, allocations: 457.5 kB / 1.306 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/1.438, allocations: 266.2 kB / 1.307 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/1.442, allocations: 1.517 MB / 1.308 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.442, allocations: 12 kB / 1.308 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.442, allocations: 0 / 1.308 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.442, allocations: 3.984 kB / 1.308 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009293/1.451, allocations: 3.609 MB / 1.312 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.451, allocations: 4 kB / 1.312 GB, free: 6.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/1.452, allocations: 123.9 kB / 1.312 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.454, allocations: 0.4917 MB / 1.312 GB, free: 6.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/1.454, allocations: 31.97 kB / 1.312 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/1.457, allocations: 1.581 MB / 1.314 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/1.457, allocations: 11.92 kB / 1.314 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00643/1.463, allocations: 1.948 MB / 1.316 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/1.465, allocations: 0.4911 MB / 1.316 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007401/1.466, allocations: 20 kB / 1.316 GB, free: 1.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/1.468, allocations: 139.8 kB / 1.316 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.468, allocations: 55.81 kB / 1.317 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.468, allocations: 43.95 kB / 1.317 GB, free: 1.637 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004514/1.473, allocations: 1.773 MB / 1.318 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.41e-07/1.473, allocations: 0 / 1.318 GB, free: 15.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003172/1.476, allocations: 0.7018 MB / 1.319 GB, free: 15.15 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.001533/1.478, allocations: 0.6205 MB / 1.32 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00452/1.482, allocations: 1.342 MB / 1.321 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.482, allocations: 0 / 1.321 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.485, allocations: 0.6819 MB / 1.322 GB, free: 12.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007207/1.492, allocations: 1.325 MB / 1.323 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/1.499, allocations: 3.62 MB / 1.326 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.501, allocations: 1.49 MB / 1.328 GB, free: 5.988 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001931/1.502, allocations: 432 kB / 1.328 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/1.503, allocations: 167.4 kB / 1.328 GB, free: 5.402 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.503, allocations: 0 / 1.328 GB, free: 5.402 MB / 1.061 GB Notification: Performance of Templates: time 0.08387/1.587, allocations: 48.81 MB / 1.376 GB, free: 5.27 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches