Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001376/0.001376, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.591/1.591, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437 MB / 0.7099 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7862, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1632/0.9495, allocations: 131.4 MB / 1.145 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04221/0.9917, allocations: 23.33 MB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/0.9987, allocations: 115.2 kB / 1.168 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00574/1.004, allocations: 1.2 MB / 1.169 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01498/1.02, allocations: 3.776 MB / 1.173 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007215/1.027, allocations: 1.955 MB / 1.175 GB, free: 424 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01568/1.042, allocations: 8.287 MB / 1.183 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/1.047, allocations: 1.976 MB / 1.185 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007422/1.055, allocations: 2.376 MB / 1.187 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/1.059, allocations: 1.859 MB / 1.189 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007644/1.06, allocations: 120 kB / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/1.066, allocations: 1.746 MB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0009958/1.067, allocations: 489.6 kB / 1.191 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/1.071, allocations: 1.337 MB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00879/1.079, allocations: 4.237 MB / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.079, allocations: 0 / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/1.079, allocations: 0 / 1.197 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001096/1.08, allocations: 0 / 1.197 GB, free: 9.879 MB / 0.9512 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.007778/1.087, allocations: 3.172 MB / 1.2 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.087, allocations: 8.031 kB / 1.2 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/1.092, allocations: 0.8441 MB / 1.2 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/1.098, allocations: 2.268 MB / 1.203 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001038/1.099, allocations: 294.8 kB / 1.203 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/1.1, allocations: 160 kB / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/1.105, allocations: 1.938 MB / 1.205 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/1.105, allocations: 0 / 1.205 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/1.105, allocations: 67.98 kB / 1.205 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/1.105, allocations: 36 kB / 1.205 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005218/1.11, allocations: 1.842 MB / 1.207 GB, free: 15.03 MB / 0.9669 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.01619/1.126, allocations: 9.02 MB / 1.216 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004633/1.131, allocations: 1.2 MB / 1.217 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.132, allocations: 461.4 kB / 1.217 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/1.134, allocations: 1.723 MB / 1.219 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/1.134, allocations: 42.56 kB / 1.219 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/1.134, allocations: 0 / 1.219 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009702/1.144, allocations: 2.341 MB / 1.221 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.144, allocations: 89.09 kB / 1.221 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005399/1.149, allocations: 2.524 MB / 1.224 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/1.149, allocations: 45.7 kB / 1.224 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/1.151, allocations: 1.041 MB / 1.225 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/1.151, allocations: 268.2 kB / 1.225 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004833/1.151, allocations: 258.6 kB / 1.225 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.152, allocations: 345.9 kB / 1.226 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.154, allocations: 0.5842 MB / 1.226 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/1.156, allocations: 0.9699 MB / 1.227 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/1.159, allocations: 1.267 MB / 1.229 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/1.159, allocations: 4 kB / 1.229 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007175/1.166, allocations: 2.047 MB / 1.231 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.167, allocations: 8 kB / 1.231 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.167, allocations: 8 kB / 1.231 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/1.169, allocations: 0.4925 MB / 1.231 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.17, allocations: 283.6 kB / 1.231 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.173, allocations: 1.518 MB / 1.233 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.176, allocations: 433.9 kB / 1.233 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/1.176, allocations: 59.97 kB / 1.233 GB, free: 2.566 MB / 0.9825 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.001142/1.177, allocations: 465.5 kB / 1.234 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/1.178, allocations: 248.9 kB / 1.234 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/1.182, allocations: 1.502 MB / 1.235 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.182, allocations: 8 kB / 1.235 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.182, allocations: 0 / 1.235 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.182, allocations: 3.984 kB / 1.235 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008974/1.191, allocations: 3.603 MB / 1.239 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.191, allocations: 4 kB / 1.239 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006482/1.192, allocations: 136.1 kB / 1.239 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/1.194, allocations: 495.4 kB / 1.24 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/1.194, allocations: 23.98 kB / 1.24 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/1.197, allocations: 1.592 MB / 1.241 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.197, allocations: 4.031 kB / 1.241 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006694/1.203, allocations: 1.935 MB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.205, allocations: 0.4897 MB / 1.243 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/1.206, allocations: 20 kB / 1.243 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002118/1.208, allocations: 171.7 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.208, allocations: 59.81 kB / 1.244 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.208, allocations: 39.95 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003433/1.211, allocations: 1.773 MB / 1.245 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.211, allocations: 192 / 1.245 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002526/1.214, allocations: 0.6828 MB / 1.246 GB, free: 5.059 MB / 0.9981 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.001364/1.215, allocations: 0.6053 MB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004366/1.22, allocations: 1.346 MB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.22, allocations: 8.062 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/1.222, allocations: 0.675 MB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006786/1.229, allocations: 1.262 MB / 1.25 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5761/1.805, allocations: 4.297 MB / 1.254 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/1.807, allocations: 1.493 MB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002853/1.81, allocations: 437.8 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/1.81, allocations: 167.5 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.81, allocations: 0 / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.08621/1.896, allocations: 48.66 MB / 1.304 GB, free: 196 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches